Warnings
Warnings are what randomstuff.py (wrapper) uses to warn the user about possible issues without interrupting the actual program. They are different then errors as they don't stop your program.
These are simple print statements used to warn the user about certain threats or issues like outdated version, outdated method, deprecation warnings etc.
Example
To see how warnings look like, You can dive into your code and set version
kwarg in Client
to an outdated version like "3"
.
When you run the program, you will see that it prints in console that the version is outdated and you are advised to migrate to better version.
Suppressing warnings
Just in case you don't want these warnings, you can suppress them by setting suppress_warnings
to True
in Client
. These warnings won't be shown then.
Last updated