From 04f885e97989209aff4aa269ed1abe333c02ae52 Mon Sep 17 00:00:00 2001 From: Alex <akreft@trineo.org> Date: Wed, 27 Oct 2021 23:02:24 +0200 Subject: [PATCH] STY: Whitespaces --- src/caosdb/common/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 4e550bd7..34d24175 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -703,7 +703,7 @@ class Entity(object): # entity given - # entity given + # entity given pattern_name = getattr(pattern, "name", None) pattern_id = getattr(pattern, "id", None) if pattern_name or pattern_id: @@ -751,7 +751,7 @@ class Entity(object): See also get_property_values() """ - + SPECIAL_SELECTORS = ["unit", "value", "description", "id", "name"] if not isinstance(selector, (tuple, list)): -- GitLab