ProtoCaller.Utils.stdio module¶
-
ProtoCaller.Utils.stdio.ignore_warnings(f)¶ A decorator which suppresses all warnings.
-
ProtoCaller.Utils.stdio.stdout_stderr(stdout='/dev/null', stderr='/dev/null')¶ A decorator which redirects the stdout and stderr to a custom stream. Default is suppression of all output.
-
class
ProtoCaller.Utils.stdio.stdout_stderr_cls(stdout='/dev/null', stderr='/dev/null')¶ Bases:
objectSame as the
stdout_stderr()decorator but in a class form.
-
ProtoCaller.Utils.stdio.warnings_as_errors(f)¶ A decorator which casts all warnings as errors.