We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e8167 commit f1611f8Copy full SHA for f1611f8
flask_mongoengine/db_fields.py
@@ -76,6 +76,11 @@ def __init__(
76
self.validators = self._ensure_callable_or_list(validators, "validators")
77
self.filters = self._ensure_callable_or_list(filters, "filters")
78
79
+ # Some attributes that will be updated by parent methods
80
+ self.required = False
81
+ self.default = None
82
+ self.name = ""
83
+
84
super().__init__(**kwargs)
85
86
@staticmethod
0 commit comments