-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Added more complete support for arbitrary field metadata. #1051
Conversation
@@ -88,7 +88,8 @@ def __init__(self, db_field=None, name=None, required=False, default=None, | |||
self.null = null | |||
self.sparse = sparse | |||
self._owner_document = None | |||
self.custom_data = custom_data | |||
|
|||
self.__dict__.update(metadata) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a note, this works because the BaseField has no __slots__
defined.
|
…ce_field_bugfix Suggested fix for #1047: CachedReferenceField DBRefs bug
Okiedokie, that merge was a bit weird. |
|
Closing due to inactivity/inaction. |
Fixes #916. Encapsulating superset of #705.