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
- Confusion with Client SDK and Server SDK...
Hi guys, this may sound as a stupid question, but I am really at a loss here. I admit I am a novice. I have a simple CRUD web app built on NextJS, where some ...
- How to relate documents to users, and co...
The prelude in Appwrite's Relationships Documentation states: > *Entities in real-life often associate with each other in an organic and logical way, like a pe...
- No Targets Created For Email OTP Users
The users can sign up no problem, but I just noticed they have no targets, using email and password works though