File tree Expand file tree Collapse file tree
cognite/client/data_classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ def external_id(self) -> str | None: ...
838838 def id (self ) -> int : ...
839839
840840
841- class ExternalIDTransformerMixin (Sequence [HasExternalId ], ABC ):
841+ class ExternalIDTransformerMixin (Iterable [HasExternalId ], ABC ):
842842 def as_external_ids (self ) -> list [str ]:
843843 """
844844 Returns the external ids of all resources.
@@ -857,7 +857,7 @@ def as_external_ids(self) -> list[str]:
857857 return external_ids
858858
859859
860- class NameTransformerMixin (Sequence [HasName ], ABC ):
860+ class NameTransformerMixin (Iterable [HasName ], ABC ):
861861 def as_names (self ) -> list [str ]:
862862 """
863863 Returns the names of all resources.
@@ -876,7 +876,7 @@ def as_names(self) -> list[str]:
876876 return names
877877
878878
879- class InternalIdTransformerMixin (Sequence [HasInternalId ], ABC ):
879+ class InternalIdTransformerMixin (Iterable [HasInternalId ], ABC ):
880880 def as_ids (self ) -> list [int ]:
881881 """
882882 Returns the ids of all resources.
You can’t perform that action at this time.
0 commit comments