From 39096d01adb159849980941974d65b104b6eab90 Mon Sep 17 00:00:00 2001 From: Daniel <daniel@harvey> Date: Mon, 5 Aug 2019 16:25:57 +0200 Subject: [PATCH] DOC: Whitespace changes in doc strings --- src/caosdb/common/models.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 85ea72f1..d4c8968f 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: -- GitLab