From 202c708fccc8ab7ca89b394da321376d68a84ba9 Mon Sep 17 00:00:00 2001 From: Alex Wolf Date: Wed, 31 Jul 2024 13:07:14 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Add=20ordered=20artifacts?= =?UTF-8?q?=20back?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lnschema_core/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lnschema_core/models.py b/lnschema_core/models.py index 3a7f883a..a85aa931 100644 --- a/lnschema_core/models.py +++ b/lnschema_core/models.py @@ -2714,6 +2714,11 @@ def restore(self) -> None: """ pass + @property + def ordered_artifacts(self) -> QuerySet: + """Ordered `QuerySet` of `.artifacts`.""" + pass + # auto-generated through choices() delattr(Collection, "get_visibility_display")