Skip to content

Core

pyvider.components.capabilities.core

Core capability for the pyvider provider.

Provides base provider configuration for the pyvider-components package.

Classes

CoreCapability

CoreCapability(config: Any | None = None)

Bases: BaseCapability

Core capability for pyvider provider. Provides base provider configuration (currently empty).

Source code in pyvider/components/capabilities/core.py
def __init__(self, config: Any | None = None):
    pass
Functions
get_schema_contribution staticmethod
get_schema_contribution() -> dict[str, PvsAttribute]

Return the schema contribution for this capability.

Provides: - pyvider_testmode: Enables test-only components for testing and development

Source code in pyvider/components/capabilities/core.py
@staticmethod
def get_schema_contribution() -> dict[str, PvsAttribute]:
    """
    Return the schema contribution for this capability.

    Provides:
    - pyvider_testmode: Enables test-only components for testing and development
    """
    return {
        "pyvider_testmode": a_bool(
            optional=True,
            default=False,
            description="Enable test-only components for testing and development purposes.",
        )
    }

Functions