Skip to content

Runtime

πŸ€– 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.

pyvider.cty.config.runtime

Classes

CtyConfig

Bases: RuntimeConfig

Runtime configuration for pyvider-cty.

Uses Foundation's RuntimeConfig for consistent environment variable loading and validation patterns.

Functions
get_current classmethod
get_current() -> Self

Get current configuration from environment variables.

Returns:

Type Description
Self

Current CtyConfig instance loaded from environment

Source code in pyvider/cty/config/runtime.py
@classmethod
def get_current(cls) -> Self:
    """Get current configuration from environment variables.

    Returns:
        Current CtyConfig instance loaded from environment
    """
    return cls.from_env(prefix="PYVIDER_CTY")

Functions