diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index ad955d907d58843a78edd9b623b6a4487fb3c3a9..2fd4718681343c29e812038350a1d986942cce91 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -176,7 +176,7 @@ identifiabel, identifiable and identified record) for a Record. @abstractmethod def get_file(self, identifiable: db.File): - warnings.warn(DeprecationWarning("This function is depricated. Please do not use it.")) + warnings.warn(DeprecationWarning("This function is deprecated. Please do not use it.")) """ Retrieve the file object for a (File) identifiable. """ @@ -326,7 +326,7 @@ class LocalStorageIdentifiableAdapter(IdentifiableAdapter): Just look in records for a file with the same path. """ candidates = [] - warnings.warn(DeprecationWarning("This function is depricated. Please do not use it.")) + warnings.warn(DeprecationWarning("This function is deprecated. Please do not use it.")) for record in self._records: if record.role == "File" and record.path == identifiable.path: candidates.append(record) @@ -474,7 +474,7 @@ class CaosDBIdentifiableAdapter(IdentifiableAdapter): self._registered_identifiables[name] = definition def get_file(self, identifiable: Identifiable): - warnings.warn(DeprecationWarning("This function is depricated. Please do not use it.")) + warnings.warn(DeprecationWarning("This function is deprecated. Please do not use it.")) # TODO is this needed for Identifiable? # or can we get rid of this function? if isinstance(identifiable, db.Entity):