
i am trying to write the first cloud functions in python or js. what is the easiest way and how can i test this locally? unfortunately i can't find anything on the appwrite page

And how can i upload the python main.py in the appwrite folder?

Traceback (most recent call last): File "C:\Users\Michael\AppData\Roaming\JetBrains\IntelliJIdea2023.1\plugins\python\helpers\pydev\pydevd.py", line 1496, in _exec pydev_imports.execfile(file, globals, locals) # execute the script File "C:\Users\Michael\AppData\Roaming\JetBrains\IntelliJIdea2023.1\plugins\python\helpers\pydevpydev_impspydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:\Users\Michael\IdeaProjects\brawl_stars\appwrite-functions\deploy_function.py", line 15, in <module> result = functions.create_deployment('6563f3a89b7ebefcb300', 'main.py', InputFile.from_path('fetch-data/main.py'), True) File "C:\Users\Michael\AppData\Local\Programs\Python\Python310\lib\site-packages\appwrite\services\functions.py", line 186, in create_deployment return self.client.chunked_upload(api_path, { File "C:\Users\Michael\AppData\Local\Programs\Python\Python310\lib\site-packages\appwrite\client.py", line 129, in chunked_upload if input_file.source_type == 'path': AttributeError: 'str' object has no attribute 'source_type'

I use the Appwrite CLI and deploy to a local/dev instance of Appwrite

ok that sounds nice. but this url iwr -useb https://appwrite.io/cli/install.ps1 is invalid

Ya, installing that way doesn't quite work at the moment. I suggest installing using NPM

when i install it over npm it will work in the powershell? ^^

I believe so
Recommended threads
- Login without email or phone number
I'm making a web app targeted towards users who are very tech illiterate, so a lot of them won't even have emails. I know that the only two "identifiers" for a...
- Password Recovery link takes upwards of ...
Hello. I am having this issue above. Is there a way to make this faster? I created this project a while back when appwrite only supported Frankfurt servers. Wil...
- Appwrite not opening in my browser.
https://synapseaudit.appwrite.network/ This is one of my project hosted in appwrite, but only I am the one facing this problem.
