diff --git a/cognite/client/data_classes/_base.py b/cognite/client/data_classes/_base.py index 618ff1162..02dfb3021 100644 --- a/cognite/client/data_classes/_base.py +++ b/cognite/client/data_classes/_base.py @@ -520,12 +520,6 @@ def dump(self, camel_case: Literal[True] = True) -> dict[str, Any]: def _get_update_properties(cls, item: CogniteResource | None = None) -> list[PropertySpec]: raise NotImplementedError - @classmethod - def _get_extra_identifying_properties(cls, item: CogniteResource | None = None) -> dict[str, Any]: - # This method is used to provide additional identifying properties for the update object. - # It is intended to be overridden by subclasses that need to provide additional identifying properties. - return {} - T_CogniteUpdate = TypeVar("T_CogniteUpdate", bound=CogniteUpdate) diff --git a/cognite/client/data_classes/hosted_extractors/sources.py b/cognite/client/data_classes/hosted_extractors/sources.py index 640244db8..075c17e99 100644 --- a/cognite/client/data_classes/hosted_extractors/sources.py +++ b/cognite/client/data_classes/hosted_extractors/sources.py @@ -120,12 +120,6 @@ def _get_update_properties(cls, item: CogniteResource | None = None) -> list[Pro return [] return _SOURCE_UPDATE_BY_TYPE[item._type]._get_update_properties(item) - @classmethod - def _get_extra_identifying_properties(cls, item: CogniteResource | None = None) -> dict[str, Any]: - if not isinstance(item, SourceWrite): - return {} - return {"type": item._type} - class EventHubSourceWrite(SourceWrite): """A hosted extractor source represents an external source system on the internet.