IOStream
autogen.io.IOStream #
A protocol for input/output streams.
set_global_default staticmethod
#
Set the default input/output stream.
PARAMETER | DESCRIPTION |
---|---|
stream | The input/output stream to set as the default. TYPE: |
get_global_default staticmethod
#
Get the default input/output stream.
RETURNS | DESCRIPTION |
---|---|
IOStream | The default input/output stream. TYPE: |
Source code in autogen/io/base.py
get_default staticmethod
#
Get the default input/output stream.
RETURNS | DESCRIPTION |
---|---|
IOStream | The default input/output stream. TYPE: |
Source code in autogen/io/base.py
set_default staticmethod
#
Set the default input/output stream.
PARAMETER | DESCRIPTION |
---|---|
stream | The input/output stream to set as the default. TYPE: |