From 34f6d2cfdf96a54c06ade51b1ac020a55727d6bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20Zar=C4=99bski?= Date: Fri, 16 May 2025 13:38:14 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20missing=20user=20property?= =?UTF-8?q?=20to=20API=20Run=20object?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the 'user' attribute to the Run API low level object --- simvue/api/objects/run.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simvue/api/objects/run.py b/simvue/api/objects/run.py index f883788c..c00b3f9e 100644 --- a/simvue/api/objects/run.py +++ b/simvue/api/objects/run.py @@ -229,6 +229,11 @@ def metadata(self) -> dict[str, typing.Any]: def metadata(self, metadata: dict[str, typing.Any]) -> None: self._staging["metadata"] = metadata + @property + def user(self) -> str: + """Return the user associate with this run.""" + return self._get_attribute("user") + @property @staging_check def description(self) -> str: