
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
- AVIF file format as default
In appwrite, is it possible that whenever a user uploads an image it gets converted to a specific format for eg AVIF always? I know I can use cloud functions bu...
- Opening Logs of Function Executions cras...
If I press the "Logs" Button of function exeucutions on the web-console of appwrite, then the websites crashes and I can't navigate anywhere.
- 25 document limit
Unable to bypass the 25 document limit: https://github.com/Mooshieblob1/GenerateImagesPreview
