Config
π€ AI-Generated Content
This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.
provide.foundation.streams.config
¶
Classes¶
StreamConfig
¶
Bases: RuntimeConfig
Configuration for console stream output behavior.
Functions¶
supports_color
¶
Determine if the console supports color output.
Returns:
| Type | Description |
|---|---|
bool
|
True if color is supported, False otherwise |
Source code in provide/foundation/streams/config.py
Functions¶
get_stream_config
¶
Get the global stream configuration instance.
Returns:
| Type | Description |
|---|---|
StreamConfig
|
StreamConfig instance loaded from environment |