io
autogen.io.IOStream
IOStream
A protocol for input/output streams.
Parameters:Name | Description |
---|---|
*args | |
**kwargs |
Static Methods
get_default
Get the default input/output stream.
Returns: IOStream: The default input/output stream.
Returns:Type | Description |
---|---|
autogen.io.base.IOStream | IOStream: The default input/output stream. |
get_global_default
Get the default input/output stream.
Returns: IOStream: The default input/output stream.
Returns:Type | Description |
---|---|
autogen.io.base.IOStream | IOStream: The default input/output stream. |
set_default
Set the default input/output stream.
Parameters:Name | Description |
---|---|
stream | The input/output stream to set as the default. Type: ForwardRef('IOStream') | None |
set_global_default
Set the default input/output stream.
Parameters:Name | Description |
---|---|
stream | The input/output stream to set as the default. Type: IOStream |