From a63fb876fc4e2f87212bf8d9076e696efb36e844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 23 Feb 2024 21:06:49 +0100 Subject: [PATCH] FIX: do not copy unmodifiable objects --- src/caoscrawler/identifiable.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/caoscrawler/identifiable.py b/src/caoscrawler/identifiable.py index 788e1ad8..9e16d50f 100644 --- a/src/caoscrawler/identifiable.py +++ b/src/caoscrawler/identifiable.py @@ -81,22 +81,22 @@ class Identifiable(): @property def record_id(self): """Read-only access to the record id. """ - return self._record_id.copy() + return self._record_id @property def path(self): """Read-only access to the path. """ - return self._path.copy() + return self._path @property def name(self): """Read-only access to the name. """ - return self._name.copy() + return self._name @property def record_type(self): """Read-only access to the record_type. """ - return self._record_type.copy() + return self._record_type @property def properties(self): -- GitLab