[CLOSED] 'local variable 'path' referenced before assignment' in Python SDK
- 0
- Resolved
- Databases
- Web
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
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...
- Is permission changes tied to the column...
Hi, I'm evaluating appwrite for a project and through reading the documentation (I haven't coded/tested anything yet, just trying to have a grasp of the basic f...
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...