-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert tags to a SetField #80
Comments
I made a PR into MongoEngine. We shall see how it goes |
Can we support this directly in FiftyOne for the time being? It could internally use MongoEngine's ListField and just convert to sets at the object-level. I have a suspicion that it won't be easy to get your PR into MongoEngine, and even then it will take time to get this into an official release so that pip-installable FiftyOne can use it |
The core reason that I did this in MongoEngine and not fiftyone is that there needs to be a notion of a Can the user no longer access the I am working on database synchronization right now. I can keep this in the back of my mind while I do that since it is all related. |
Hmm sounds like this issue will likely have to go into hibernation then. No easy path forward, and it's not THAT big of an inconvenience to use lists |
I'll keep an eye on this issue. But the easy alternatives don't seem much better than leaving it as a list |
It would be preferable for
tags
to be represented as sets in Python land. See below for discussion.Also, this would be a convenient time to create our own wrappers around MongoEngine fields so that our user interface is decoupled from MongoEngine classes:
The text was updated successfully, but these errors were encountered: