New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control caching based on response #99
Conversation
2 similar comments
This looks good to me from a first look! I'll take a closer look when I am home from work. |
Co-Authored-By: volodymyrss <volodymyrss@users.noreply.github.com>
thanks for the suggestion! |
Wait, you were able to commit my suggested changes directly from github? 😄 Generally speaking, instead of using print statements, the information should be logged using a dedicated logger. The logger can then be configured to only print certain log levels to the console, or log everything to a file. In our case, by reading the test cases you have written one can easily guess what the result is -- and in case the tests fail, pytest will show us all the needed information anyway. Hope that clears things up! |
Ok, I see, thanks! Yeah, the technology of github is growing beyond our imagination. There was just a button to accept the suggestion, first time I see such a feature. |
I might be missing entierly the intent of the developers, and possibly there is a much better solution to my problem (#91).
This is just what I implemented which is sufficient for my needs, I wonder if it makes any sense.