Fails to connect to my db. Returns a weird 'local variable 'path' referenced before assignment'. As shown in the screenshot, it works perfectly with nodejs.
I have my id variables saved but they're not shown in this image
What is your python sdk version?
"appwrite": "^11.0.1" @Guille
yeah it seems to be a sdk bug: https://github.com/appwrite/sdk-for-python/blob/master/appwrite/services/databases.py#L924
The var is called api_var and not path
ah I see. Thanks. Hopefully it gets fixed soon. Much easier to push from my python script rather than my js.
@Steven Hi bro, any chance the team can complete this? I’m looking at the issue on GitHub and it seems that a fix has been reviewed but waiting commit. I’ve paused my development cause of this. Really appreciate the work y’all do.
yes, we're on it
'local variable 'path' referenced before assignment' in Python SDK
It's solved and released: https://github.com/appwrite/sdk-for-python/releases/tag/3.0.1
[CLOSED] 'local variable 'path' referenced before assignment' in Python SDK
Brilliant! Thanks a lot!
Recommended threads
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...
- [Bug?] row_already_exists (409) after ma...
Hi, I'm experiencing a confusing issue with Appwrite Cloud Setup: A `tournaments` table with a composite UNIQUE index on (tournament_name, date). Steps to rep...
- appwrite pull Tables duplicates all coll...
I encountered a bug when running appwrite pull Tables. Every existing collection in my appwrite.json gets duplicated. One collection ended up appearing three t...