Expose ic.print as print and improve for objects #360
Labels
developer experience
speed, usability, shiny, wow-factor, customization
enhancement
Improves behavior of existing functionality
User Stories
As a canister developer,
I want to be able to log to std.out by calling
print()
in addition toic.print
,So that I don't have to learn some new non-standard method of logging in Python.
As a canister developer,
I want to be able to log any complex objects with
print(some_complex_object)
So that I don't have to wrap them in json.dump (which may not even be possible) or other stuff.
Acceptance Criteria
Given:
When calling
dfx canister call my_canister some_method
Then the following is output in the terminal where the replica is running
This should look just like it does in a normal python repl.
The text was updated successfully, but these errors were encountered: