diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 85ea72f115c2cde037c8756eebd0e650059efd03..d4c8968f2dd0bce312b12b0d92b4d158d7286088 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -872,15 +872,18 @@ class Entity(object): will be synchronized as well. They will not be overridden. This method returns a Container containing the this entity. - Note: If only a name is given this could lead to ambiguities. Usually this would raise - an CaosDBException. Set the flag 'unique' to False if this Exception should be suppressed. - If unique is False this method returns a Container object which carries the returned - entities. The are distinct from this one. This entity will no be changed somehow. + Note: If only a name is given this could lead to ambiguities. Usually + this would raise a CaosDBException. Set the flag 'unique' to False if + this Exception should be suppressed. If unique is False this method + returns a Container object which carries the returned entities. They are + distinct from this one. This entity will no be changed somehow. - @param unique=True: flag to suppress the ambiguity exception. @param - unique=True: flag to suppress the ambiguity exception. @return + @param unique=True: flag to suppress the ambiguity exception. + + @return Container with the returned entities or single entity if and only if unique was True and no exception was raised. + """ if unique: