From 50c9241fabc480c0df5d27500bc5f112e059c459 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Thu, 8 Feb 2024 17:05:47 +0100 Subject: [PATCH] DOC: Typos. --- src/caoscrawler/identifiable_adapters.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/caoscrawler/identifiable_adapters.py b/src/caoscrawler/identifiable_adapters.py index dd520a5a..12719cf3 100644 --- a/src/caoscrawler/identifiable_adapters.py +++ b/src/caoscrawler/identifiable_adapters.py @@ -96,7 +96,7 @@ General question to clarify: The list of referenced by statements is currently not implemented. -The IdentifiableAdapter can be used to retrieve the three above mentioned objects (registred +The IdentifiableAdapter can be used to retrieve the three above mentioned objects (registered identifiabel, identifiable and identified record) for a Record. """ @@ -182,7 +182,7 @@ identifiabel, identifiable and identified record) for a Record. def get_identifiable(self, record: db.Record, referencing_entities=None): """ - retrieve the registred identifiable and fill the property values to create an + retrieve the registered identifiable and fill the property values to create an identifiable Args: @@ -216,7 +216,7 @@ identifiabel, identifiable and identified record) for a Record. # case A: in the registered identifiable # case B: in the identifiable - # TODO: similar to the Identifiable class, Registred Identifiable should be a + # TODO: similar to the Identifiable class, Registered Identifiable should be a # separate class too if prop.name.lower() == "is_referenced_by": for givenrt in prop.value: @@ -257,7 +257,7 @@ identifiabel, identifiable and identified record) for a Record. "Multi properties used in identifiables could cause unpredictable results and " "are not allowed. You might want to consider a Property with a list as value.") - # use the RecordType of the registred Identifiable if it exists + # use the RecordType of the registered Identifiable if it exists # We do not use parents of Record because it might have multiple try: return Identifiable( @@ -486,7 +486,7 @@ class CaosDBIdentifiableAdapter(IdentifiableAdapter): def get_registered_identifiable(self, record: db.Record): """ - returns the registred identifiable for the given Record + returns the registered identifiable for the given Record It is assumed, that there is exactly one identifiable for each RecordType. Only the first parent of the given Record is considered; others are ignored -- GitLab