Closed David-Maisonave closed 3 months ago
SceneSlim
is an undefined fragment it is an issue with the stashapi library as it used to be defined but has since been removed, if you define a fragment it will work, the reason it does not use the full Scene
fragment is that it would take much longer to run
the whole point of GQL is so that you can define the shape of the object you want to get back from the API, stashapi kind of defeats the purpose of that by automatically providing full fragments for all the objects
it was patched with https://github.com/stg-annon/stashapi/commit/0b08bbed5ec984544a4dc0444f456e6068ec4ad6
Thanks
Calling find_duplicate_scenes with no arguments throws an exception.
Logging
Setup Details
stashapp-tools version: 0.2.50 OS: Windows 11
Code to reproduce issue:
stash.log.debug(f"{stash.find_duplicate_scenes()}")
Playground GraphiQL shows the following arguments:
It doesn't list SceneSlim as an argument. It does show duration_diff argument which is not present in find_duplicate_scenes.
I modified the code to the following:
But that still threw the following exception:
The last thing I tried was calling it with fragment argument, but that threw the following exception: