Skip to content

Commit

Permalink
Fix for new SQLAlchemy version.
Browse files Browse the repository at this point in the history
  • Loading branch information
SBriere committed Jan 7, 2022
1 parent 01241e3 commit 0231a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backend/libwebportal/db/Base.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def to_json_delete_event(self):
@staticmethod
def is_valid_property_name(name: str) -> bool:
return not name.startswith('__') and not name.startswith('_') and not name.startswith('query') and \
not name.startswith('metadata') and name != 'version_id'
not name.startswith('metadata') and name != 'version_id' and name != 'registry'

@staticmethod
def is_valid_property_value(value: str) -> bool:
Expand Down

0 comments on commit 0231a58

Please sign in to comment.