File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ def _hasKeyableChilds(self) -> bool:
10911091 """
10921092 Whether all child attributes are keyable.
10931093 """
1094- return all ((isinstance (attribute , ShapeAttribute ) and attribute .shapeKeyable ) or \
1094+ return all ((isinstance (attribute , ShapeAttribute ) and attribute .shapeKeyable ) or
10951095 attribute .keyable for attribute in self .value )
10961096
10971097 def _getNbObservations (self ) -> int :
@@ -1114,8 +1114,8 @@ def hasObservation(self, key: str) -> bool:
11141114 """
11151115 if not self .shapeKeyable :
11161116 return True
1117- return all ((isinstance (attribute , ShapeAttribute ) and attribute .hasObservation (key )) or \
1118- (not isinstance (attribute , ShapeAttribute ) and attribute .keyValues .hasKey (key )) \
1117+ return all ((isinstance (attribute , ShapeAttribute ) and attribute .hasObservation (key )) or
1118+ (not isinstance (attribute , ShapeAttribute ) and attribute .keyValues .hasKey (key ))
11191119 for attribute in self .value )
11201120
11211121 @raiseIfLink
You can’t perform that action at this time.
0 commit comments