Output and Printing when running functions in Code

This may be a rather small “problem”, but is there a way to run functions from the Python-SDK without printing?
The console output is really helpful, but it can become quite cluttered (when doing multiple operations in a loop for example). I know that using a multi part insert for example could help clean that up a bit, but for my tests the multiple calls to Hopsworks are actually needed.
Thanks in advance!