Skip to content

Index

pyvider.components

TODO: Add module docstring.

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.",
        )
    }

PyviderProvider

PyviderProvider()

Bases: BaseProvider

Reference implementation of a Pyvider provider.

Manages standard components for local file manipulation, HTTP data sources, and utility functions.

Source code in pyvider/components/provider.py
def __init__(self):
    super().__init__(metadata=ProviderMetadata(name="pyvider", version="0.1.0"))

Functions