Expand description
Configuration bridge for Monarch Hyperactor.
This module defines Monarch-specific configuration keys and their
Python bindings on top of the core hyperactor::config::global
system. It wires those keys into the layered config and exposes
Python-facing helpers such as configure(...),
get_global_config(), get_runtime_config(), and
clear_runtime_config(), which together implement the “Runtime”
configuration layer used by the Monarch Python API.
Structs§
- PyDuration
- Python wrapper for Duration, using humantime format strings.
- PyPort
Range - Python wrapper for Range
, using Python’s slice type.
Enums§
- PyEncoding
- Python enum for Encoding.
Statics§
- ACTOR_
QUEUE_ DISPATCH - Use queue-based message dispatch for Python actors instead of direct dispatch
- SHARED_
ASYNCIO_ RUNTIME - Use a single asyncio runtime for all Python actors, rather than one per actor
Functions§
- register_
python_ bindings - Register Python bindings for the config module
- reload_
config_ from_ env - Python API for configuration management
- reset_
config_ to_ defaults