smth:

You can suppress the warnings by capturing them using a filter: https://docs.python.org/3/library/warnings.html#overriding-the-default-filter 
There isn’t another mechanism I can think of.


for ppl looking for code here it is:
    import warnings
    warnings.simplefilter("ignore")