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
- Auth not working
guys my appwrite auth isnt working? oauth works (Sign in with google n discord) i have 2 websites deployed where do i get help when i do sign in with email and ...
- Need Urgent help
Hi Appwrite Support Team, My cloud project has exceeded its database reads limit for the current billing cycle and is currently locked. I am unable to access t...
- Claim student package
how can i claim this ? i have student developer package for my github account