I get this error, when I try to execute function: Traceback (most recent call last): File "/usr/local/server/src/server.py", line 165, in handler output = await asyncio.wait_for(execute(context), timeout=safeTimeout) File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for return fut.result() File "/usr/local/server/src/server.py", line 158, in execute output = userModule.main(context) TypeError: main() missing 1 required positional argument: 'res
that function is a pre-1.4.0..is this a new function created in 1.4?
yes, i created it by "init function" in 1.4
perhaps you're using an old SDK. what's the output of appwrite -v?
1.1.1
Ya that's really old. You should be using version 4.0.0
How I can update CLI?
How did you install it previously?
curl -sL https://appwrite.io/cli/install.sh
You can try running that again
actually don't install it that way...
Can you uninstall it by deleting the binary?
Recommended threads
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?