Improved logging#207
Conversation
…rties, private methods, and dunders
|
Hey @thomas6785, thanks for this contribution! It looks pretty good, but I'm not really sure this is actually something we want in our SDK. This feels to me like something that could live in a 3rd-party debugging lib, and could be then applied to this (or other libraries) through monkey-patching at runtime 🤔 |
|
Hi @Schnouki , thanks for the reply. Incidentally, there are a few other extensions I'm working on in my fork. For now I was intending on maintaining these for my own purposes in my own repo, but if you are interested:
|
|
Hey @thomas6785, thanks for this! I could be swayed, but I generally agree with @Schnouki in that it is best for something like this to be added externally as needed. Also, note that the |
Introduced logging to API calls to help debugging
To view logs for the test suite:
uv run pytest --log-file=log.log --log-level=DEBUGand open
log.logThis is something I have in my own copy of this SDK and found useful for recreating bugs in my tools. Log files are quite verbose but easily searchable.