-
Notifications
You must be signed in to change notification settings - Fork 22
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
#87 breaks persistent Text fields #90
Comments
IIUC, a class attribute would solve that? class Text(MinMaxLen, Field):
unicode_normalization = 'NFC'
def __init__(self, *args, **kwargs):
self.unicode_normalization = kwargs.pop(
'unicode_normaliaztion',
type(self).unicode_normalization)
super(Text, self).__init__(*args, **kwargs) |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We persist some schemas that use fields. Setting
unicode_normalization
inText.__init__
breaks persistent loading of such schemas.The text was updated successfully, but these errors were encountered: