Hey Appwrite, I am trying to follow along with your documentation to create a relationship attribute in a collection in from python (https://appwrite.io/docs/references/cloud/server-python/databases#createRelationshipAttribute) However when running this as a function on your cloud instance and locally on my own machine i keep getting this error:
ImportError: cannot import name 'RelationshipType' from 'appwrite.enums' (/usr/local/server/src/function/runtime-env/lib/python3.9/site-packages/appwrite/enums/__init__.py)
Even though i am importing the package just as in the documentation:
from appwrite.enums import RelationshipType
Second question: where can i import the RelationMutate package from?
Thanks for all your amazing work at appwrite, really appreciate it!
Import error: appwrite.enums
Recommended threads
- general_route_not_found - Auth Guide
If you’ve just added a subdomain to your project, verified your DNS records, and confirmed your SSL certificate is working, but you're still hitting a `general_...
- Can't resume paused project
I have logged in in incognito, done the email verification and still get the invalid fingerprint error. What's the issue.
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...