Skip to content

Conversation

@dunngitter
Copy link
Contributor

@dunngitter dunngitter commented Feb 23, 2025

Like with my last PR I started out just wanting to add some types, but the scope very quickly exploded. This is going to be a huge change and will need pretty thorough testing.

Changes:

  • added a get_logger method to log.py which can be used instead of import stashapi.log as log
  • many others I will add here later

Totally untested so far

Todo:

  • Add tests for everything that has changed
  • Go over all of the docstrings again and make sure they are consistent
  • Make the call signatures and behaviors more consistent across the find/create/update/destroy methods for each type

dunngitter added 4 commits May 4, 2025 20:29
also start cleaning up stashapp.py and stashbox.py a little bit
added a `get_logger` method to log.py which can be used instead of
`import stashapi.log as log`
there were a couple of functions here that I really didn't know what to
do with because I don't see any example uses in the codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants