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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...