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
- Need help: Appwrite API stuck at 25 resu...
Hi! I need help urgently. I’m trying to export all users/documents from my Appwrite Cloud project, but the API always returns only the first 25 items. Paginati...
- not able to fetch user data
I am unable to fetch all users from my Appwrite Cloud project. My project has around 3700 users, but the API always returns only 25 users even though I created...
- Unable to login to site using appwrite ...
Hi, i made a website using appwrite google authentication and db. And it was working fine for few days. But now google login doesn't work. Its not showing any e...