diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index b087496d1db9800b352f4b4cc916ea084b2c83f6..c9c5cb773940f705ad2ddbb81186bacd4797d34b 100644 --- a/src/linkahead/common/models.py +++ b/src/linkahead/common/models.py @@ -2382,7 +2382,8 @@ class _Properties(list): return self._importance.get(property) - def set_importance(self, property: Optional[Property], importance: IMPORTANCE): # @ReservedAssignment + # @ReservedAssignment + def set_importance(self, property: Optional[Property], importance: IMPORTANCE): if property is not None: self._importance[property] = importance @@ -2420,7 +2421,7 @@ class _Properties(list): if inheritance is not None: self._inheritance[property] = inheritance else: - self._inheritance[property] = "ALL" + self._inheritance[property] = "FIX" if property.id is not None: self._element_by_id[str(property.id)] = property @@ -4734,7 +4735,8 @@ class Query(): next_page = self._query_request(query_dict) etag = next_page.query.etag if etag is not None and etag != self.etag: - raise PagingConsistencyError("The database state changed while retrieving the pages") + raise PagingConsistencyError( + "The database state changed while retrieving the pages") yield next_page index += page_length @@ -4894,7 +4896,7 @@ def execute_query( class DropOffBox(list): def __init__(self, *args, **kwargs): warn(DeprecationWarning( - "The DropOffBox is deprecated and will be removed in future.")) + "The DropOffBox is deprecated and will be removed in future.")) super().__init__(*args, **kwargs) path = None