Skip to content

Commit d24e612

Browse files
jkhsjdhjss-heppner
authored andcommitted
model.base: improve two docstrings
1 parent 71a389b commit d24e612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basyx/aas/model/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ def _direct_source_commit(self):
866866

867867
class UnexpectedTypeError(TypeError):
868868
"""
869-
Exception to be raised by :meth:`basyx.aas.model.base.ModelReference.resolve` if the retrieved object has not
869+
Exception to be raised by :meth:`.ModelReference.resolve` if the retrieved object has not
870870
the expected type.
871871
872872
:ivar value: The object of unexpected type
@@ -1029,7 +1029,7 @@ def resolve(self, provider_: "provider.AbstractObjectProvider") -> _RT:
10291029
:return: The referenced object (or a proxy object for it)
10301030
:raises IndexError: If the list of keys is empty
10311031
:raises TypeError: If one of the intermediate objects on the path is not a
1032-
:class:`~basyx.aas.model.base.Namespace`
1032+
:class:`~.UniqueIdShortNamespace`
10331033
:raises ValueError: If a non-numeric index is given to resolve in a
10341034
:class:`~basyx.aas.model.submodel.SubmodelElementList`
10351035
:raises UnexpectedTypeError: If the retrieved object is not of the expected type (or one of its subclasses). The

0 commit comments

Comments
 (0)