
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
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
- OpenAI Whisper on Appwrite Sites
Hey guys, just wondering if I can serve an OpenAI Whisper AI on appwrite / appwrite sites. tiny model is like ~40-50MB
