Skip to content

base

pyvider.cty.types.base

TODO: Add module docstring.

Classes

CtyType

Bases: CtyTypeProtocol[T], Generic[T], ABC

Generic abstract base class for all Cty types.

Functions
is_dynamic_type
is_dynamic_type() -> bool

Returns True if this type is CtyDynamic.

Source code in pyvider/cty/types/base.py
def is_dynamic_type(self) -> bool:
    """Returns True if this type is CtyDynamic."""
    return False

CtyTypeProtocol

Bases: Protocol[T_co]

Protocol defining the essential interface of a CtyType.