How do I use ID.unique() in python?

  • 0
  • Self Hosted
  • General
3 Apr, 2024, 16:52

I've tried: import appwrite from appwrite import ID

But I keep getting an error message that "ID" does not exist. I can't find a python example that shows how to import it.

To use `ID.unique()` in Python, developers should import it as follows: ```py from import ID ``` Importing `appwrite` or `ID` directly will result in an error.
3 Apr, 2024, 16:58

Try like this

from import ID

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more