You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@joeyouss
I've found the reason.
In the file databases.py, the original variable "path" was changed to "api_path"(Last commit)
but the modification was only made in the definition and not in all the places where it is called.
As a result, all functions related to databases will fail
👟 Reproduction steps
Image got from https://discord.com/channels/564160730845151244/1146544839614287923
👍 Expected behavior
run
createDocument
👎 Actual Behavior
It returns error
Local variable path referenced before assignament
Looking the code https://github.com/appwrite/sdk-for-python/blob/master/appwrite/services/databases.py#L924 path var is called
api_path
but referenced aspath
later in the code: https://github.com/appwrite/sdk-for-python/blob/master/appwrite/services/databases.py#L938-L939🎲 Appwrite version
Version 0.11.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: