[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
- 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...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...