You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know, that it would change the schema... but I thought I have a validation part, that has to be there and an optional part...
How can this be reached? Thanks for support!
The text was updated successfully, but these errors were encountered:
I have a document definition similar to this one:
`
class Humans(COL.Collection):
_properties = {
"keyOptions" : {
"allowUserKeys": False,
"type": "autoincrement",
"increment": 1,
"offset": 0,
}
}
`
---> 'allow_foreign_fields': True is set to True
When I create a document and want to add a field (remember ---> 'allow_foreign_fields': True) it throws an exception
---> 68 return self.validators[field].validate(self.patchStore[field])
69 else:
70 try:
KeyError: 'test'
I know, that it would change the schema... but I thought I have a validation part, that has to be there and an optional part...
How can this be reached? Thanks for support!
The text was updated successfully, but these errors were encountered: