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
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...
- One to many 2 way, console UI not correc...
Hey, seems I'm facing the exactly same issue with this one: https://github.com/appwrite/appwrite/issues/6016 Since this Github issue stay open for so long, let ...
- Server Down
Appwrite services are down. When will they start working again?