From 8ad0bdf3e6d2f105c7e99cdf0574b0ef59ff7c99 Mon Sep 17 00:00:00 2001 From: stg-annon <14135675+stg-annon@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:10:50 -0400 Subject: [PATCH] alt fix for nested Groups supersedes 9e2e4a6 allowing access to other attributes of `GroupDescription` without the full Group fragment --- stashapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stashapp.py b/stashapp.py index 0bf1813..6d71df3 100644 --- a/stashapp.py +++ b/stashapp.py @@ -69,6 +69,7 @@ def __init__(self, conn:dict={}, fragments:list[str]=[], verify_ssl:bool=True): "Performer": "{ id }", "Image": "{ id }", "Gallery": "{ id }", + "Group": "{ id }", } attribute_overrides = { "ScrapedStudio": {"parent": "{ stored_id }"}, @@ -78,7 +79,6 @@ def __init__(self, conn:dict={}, fragments:list[str]=[], verify_ssl:bool=True): "ImageFile": { "fingerprint": None }, "GalleryFile": { "fingerprint": None }, "Gallery": { "image": None }, - "Group": {"containing_groups": "{ group { id } }", "sub_groups": "{ group { id } }"}, } self.fragments = self._get_fragments_introspection(fragment_overrides, attribute_overrides) for fragment in fragments: