Skip to content

Allow set for ListField #2355

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

Closed
GiovanniCardamone opened this issue Jun 20, 2020 · 1 comment
Closed

Allow set for ListField #2355

GiovanniCardamone opened this issue Jun 20, 2020 · 1 comment

Comments

@GiovanniCardamone
Copy link

i need to have unique strings in one of my documents. The proper python way for handle that is using set, but mongoengine only offers ListField that wraps list, would be nice to have SetField who wraps set for this purpose

@bagerard
Copy link
Collaborator

Closing as its a duplicate of #2336, which has an opened PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants