We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d9e606 commit 5b9f621Copy full SHA for 5b9f621
README.md
@@ -70,24 +70,6 @@ def bar():
70
return "Hello World"
71
```
72
73
-## See Server Function Logs
74
-
75
-In order to see function logs, please first set `logsEnabled` to `true` in Canopy for the function.
76
77
-https://na1.polyapi.io/canopy/polyui/collections/server-functions
78
79
-Then in your code, get the poly logger and log with it like so:
80
81
-```python
82
-logger = logging.getLogger("poly")
83
-def bar():
84
- logger.warning("I AM THE LOG")
85
- return "Hello World"
86
-```
87
88
-Finally, click the "Show Logs" button to see your server function logs in Canopy!
89
90
91
## Complex Types In Server Functions
92
93
You can define arbitrarily complex argument and return types using TypedDicts.
0 commit comments