SYMBOL INDEX (495 symbols across 29 files) FILE: chz/__init__.py function _chz (line 52) | def _chz(cls=None, *, version: str | None = None, typecheck: bool | None... function chz (line 65) | def chz(version: str = ..., typecheck: bool = ...) -> Callable[[type], t... function chz (line 68) | def chz(cls: _TypeT, /) -> _TypeT: ... function chz (line 70) | def chz(*a, **k): FILE: chz/blueprint/_argmap.py class Layer (line 15) | class Layer: method __init__ (line 16) | def __init__(self, args: Mapping[str, Any], layer_name: str | None): method get_kv (line 32) | def get_kv(self, exact_key: str) -> tuple[str, Any, str | None] | None: method iter_keys (line 41) | def iter_keys(self) -> Iterator[tuple[str, bool]]: method nest_subpath (line 45) | def nest_subpath(self, subpath: str | None) -> Layer: method __repr__ (line 53) | def __repr__(self) -> str: class _FoundArgument (line 58) | class _FoundArgument: function _valid_parent (line 65) | def _valid_parent(parts: list[str], param_paths: AbstractSet[str]) -> st... class ArgumentMap (line 73) | class ArgumentMap: method __init__ (line 74) | def __init__(self, layers: list[Layer]) -> None: method add_layer (line 82) | def add_layer(self, layer: Layer) -> None: method consolidate (line 86) | def consolidate(self) -> None: method subpaths (line 102) | def subpaths(self, path: str, strict: bool = False) -> list[str]: method get_kv (line 174) | def get_kv(self, exact_key: str, *, ignore_wildcards: bool = False) ->... method check_extraneous (line 195) | def check_extraneous( method __repr__ (line 276) | def __repr__(self) -> str: function join_arg_path (line 280) | def join_arg_path(parent: str, child: str) -> str: FILE: chz/blueprint/_argv.py function argv_to_blueprint_args (line 15) | def argv_to_blueprint_args( function beta_argv_arg_to_string (line 38) | def beta_argv_arg_to_string(key: str, value: Any) -> list[str]: function beta_blueprint_to_argv (line 71) | def beta_blueprint_to_argv(blueprint: chz.Blueprint[_T]) -> list[str]: function _collapse_layer (line 85) | def _collapse_layer( function _collapse_layers (line 114) | def _collapse_layers(blueprint: chz.Blueprint[_T]) -> list[tuple[str, An... FILE: chz/blueprint/_blueprint.py class SpecialArg (line 52) | class SpecialArg: ... class Castable (line 55) | class Castable(SpecialArg): method __init__ (line 58) | def __init__(self, value: str) -> None: method __repr__ (line 61) | def __repr__(self) -> str: method __hash__ (line 64) | def __hash__(self) -> int: method __eq__ (line 67) | def __eq__(self, other: object) -> bool: class Reference (line 76) | class Reference(SpecialArg): method __init__ (line 79) | def __init__(self, ref: str) -> None: method __repr__ (line 84) | def __repr__(self) -> str: class Computed (line 89) | class Computed(SpecialArg): method __repr__ (line 95) | def __repr__(self) -> str: class _MakeResult (line 101) | class _MakeResult: function _entrypoint_caster (line 129) | def _entrypoint_caster(o: str) -> object: function _found_arg_desc (line 133) | def _found_arg_desc( class Blueprint (line 189) | class Blueprint(Generic[_T_cov_def]): method __init__ (line 190) | def __init__( method clone (line 235) | def clone(self) -> Blueprint[_T_cov_def]: method apply (line 239) | def apply( method apply_from_argv (line 282) | def apply_from_argv( method _make_lazy (line 297) | def _make_lazy(self) -> _MakeResult: method _make_from_make_result (line 339) | def _make_from_make_result(self, r: _MakeResult) -> _T_cov_def: method make (line 355) | def make(self) -> _T_cov_def: method make_from_argv (line 360) | def make_from_argv( method get_help (line 375) | def get_help(self, *, color: bool = False) -> str: function _lambda_repr (line 486) | def _lambda_repr(fn) -> str | None: class _Default (line 499) | class _Default: method to_help_str (line 503) | def to_help_str(self) -> str: method instantiate (line 515) | def instantiate(self) -> Any: method from_field (line 521) | def from_field(cls, field: Field) -> _Default | None: method from_inspect_param (line 527) | def from_inspect_param(cls, sigparam: inspect.Parameter) -> _Default |... class _Param (line 534) | class _Param: method cast (line 543) | def cast(self, value: str) -> object: function _get_variadic_elements (line 559) | def _get_variadic_elements(obj_path: str, arg_map: ArgumentMap) -> set[s... function _collect_params_from_chz (line 570) | def _collect_params_from_chz( function _collect_params_from_sequence (line 590) | def _collect_params_from_sequence( function _collect_params_from_mapping (line 659) | def _collect_params_from_mapping( function _collect_params_from_typed_dict (line 701) | def _collect_params_from_typed_dict( function _collect_params_from_callable (line 729) | def _collect_params_from_callable( function _collect_params (line 869) | def _collect_params( class _WriteOnlyMapping (line 935) | class _WriteOnlyMapping(Generic[_K, _V], Protocol): method __setitem__ (line 936) | def __setitem__(self, __key: _K, __value: _V, /) -> None: ... method update (line 937) | def update(self, __m: Mapping[_K, _V], /) -> None: ... class ConstructionIssue (line 940) | class ConstructionIssue: method __init__ (line 941) | def __init__(self, issue: str) -> None: function _construct_factory (line 945) | def _construct_factory( function _construct_unspecified_param (line 1002) | def _construct_unspecified_param( function _construct_param (line 1105) | def _construct_param( function _check_for_wildcard_matching_variadic_top_level (line 1318) | def _check_for_wildcard_matching_variadic_top_level( FILE: chz/blueprint/_entrypoint.py class EntrypointException (line 17) | class EntrypointException(Exception): ... class EntrypointHelpException (line 20) | class EntrypointHelpException(EntrypointException): ... class ExtraneousBlueprintArg (line 23) | class ExtraneousBlueprintArg(EntrypointException): ... class InvalidBlueprintArg (line 26) | class InvalidBlueprintArg(EntrypointException): ... class MissingBlueprintArg (line 29) | class MissingBlueprintArg(EntrypointException): ... class ConstructionException (line 32) | class ConstructionException(EntrypointException): ... function exit_on_entrypoint_error (line 35) | def exit_on_entrypoint_error(fn: _F) -> _F: function entrypoint (line 54) | def entrypoint( function nested_entrypoint (line 85) | def nested_entrypoint( function methods_entrypoint (line 113) | def methods_entrypoint( function dispatch_entrypoint (line 173) | def dispatch_entrypoint( function _resolve_annotation (line 216) | def _resolve_annotation(annotation: Any, func: Any) -> Any: function get_nested_target (line 225) | def get_nested_target(main: Callable[[_T], object]) -> type[_T]: FILE: chz/blueprint/_lazy.py class Evaluatable (line 11) | class Evaluatable: ... class Value (line 14) | class Value(Evaluatable): method __init__ (line 15) | def __init__(self, value: Any) -> None: method __repr__ (line 18) | def __repr__(self) -> str: class ParamRef (line 22) | class ParamRef(Evaluatable): method __init__ (line 23) | def __init__(self, ref: str) -> None: method __repr__ (line 26) | def __repr__(self) -> str: class Thunk (line 30) | class Thunk(Evaluatable): method __init__ (line 31) | def __init__(self, fn: Callable[..., Any], kwargs: dict[str, ParamRef]... method __repr__ (line 35) | def __repr__(self) -> str: function evaluate (line 39) | def evaluate(value_mapping: dict[str, Evaluatable]) -> Any: function check_reference_targets (line 87) | def check_reference_targets( FILE: chz/blueprint/_wildcard.py function wildcard_key_to_regex_str (line 6) | def wildcard_key_to_regex_str(key: str) -> str: function wildcard_key_to_regex (line 14) | def wildcard_key_to_regex(key: str) -> re.Pattern[str]: function _wildcard_key_match (line 18) | def _wildcard_key_match(key: str, target_str: str) -> bool: function wildcard_key_approx (line 46) | def wildcard_key_approx(key: str, target_str: str) -> tuple[float, str]: FILE: chz/data_model.py function _create_fn (line 50) | def _create_fn( function _synthesise_field_init (line 76) | def _synthesise_field_init(f: Field, out_vars: dict[str, Any]) -> tuple[... function _synthesise_init (line 102) | def _synthesise_init(fields: Collection[Field], user_globals: dict[str, ... function __setattr__ (line 128) | def __setattr__(self, name, value): function __delattr__ (line 132) | def __delattr__(self, name): function _recursive_repr (line 136) | def _recursive_repr(user_function): function __repr__ (line 156) | def __repr__(self) -> str: function __eq__ (line 172) | def __eq__(self, other): function __hash__ (line 178) | def __hash__(self) -> int: function __chz_validate__ (line 193) | def __chz_validate__(self) -> None: function _get_init_properties (line 213) | def _get_init_properties(cls: type) -> list[str]: function __chz_init_property__ (line 220) | def __chz_init_property__(self) -> None: function pretty_format (line 225) | def pretty_format(obj: Any, colored: bool = True) -> str: function _repr_pretty_ (line 297) | def _repr_pretty_(self, p, cycle: bool) -> None: function __chz_pretty__ (line 302) | def __chz_pretty__(self, colored: bool = True) -> str: function _is_classvar_annotation (line 312) | def _is_classvar_annotation(annot: str | Any) -> bool: function _is_property_like (line 322) | def _is_property_like(obj: Any) -> bool: function chz_make_class (line 328) | def chz_make_class(cls, version: str | None, typecheck: bool | None) -> ... function is_chz (line 521) | def is_chz(c: object) -> bool: function chz_fields (line 531) | def chz_fields(c: object) -> dict[str, Field]: function replace (line 540) | def replace(obj: _T, /, **changes) -> _T: function asdict (line 571) | def asdict( function traverse (line 623) | def traverse(obj: Any, obj_path: str = "") -> Iterable[tuple[str, Any]]: function beta_to_blueprint_values (line 656) | def beta_to_blueprint_values(obj, skip_defaults: bool = False) -> Any: class init_property (line 734) | class init_property: method __init__ (line 738) | def __init__(self, func: Callable[..., Any]) -> None: method __set_name__ (line 742) | def __set_name__(self, owner, name): method __get__ (line 754) | def __get__(self, obj: Any, cls: Any) -> Any: FILE: chz/factories.py class MetaFromString (line 28) | class MetaFromString(Exception): ... class MetaFactory (line 31) | class MetaFactory: method __init__ (line 50) | def __init__(self) -> None: method unspecified_factory (line 55) | def unspecified_factory(self) -> Callable[..., Any] | None: method from_string (line 63) | def from_string(self, factory: str) -> Callable[..., Any]: method perform_cast (line 67) | def perform_cast(self, value: str): class subclass (line 73) | class subclass(MetaFactory): method __init__ (line 111) | def __init__( method __repr__ (line 120) | def __repr__(self) -> str: method base_cls (line 124) | def base_cls(self) -> InstantiableType: method default_cls (line 136) | def default_cls(self) -> InstantiableType: method unspecified_factory (line 141) | def unspecified_factory(self) -> Callable[..., Any]: method from_string (line 144) | def from_string(self, factory: str) -> Callable[..., Any]: method perform_cast (line 151) | def perform_cast(self, value: str): class function (line 159) | class function(MetaFactory): method __init__ (line 160) | def __init__( method __repr__ (line 204) | def __repr__(self) -> str: method default_module (line 208) | def default_module(self) -> types.ModuleType | str | None: method unspecified_factory (line 214) | def unspecified_factory(self) -> Callable[..., Any] | None: method from_string (line 217) | def from_string(self, factory: str) -> Callable[..., Any]: method perform_cast (line 258) | def perform_cast(self, value: str): function _module_from_name (line 263) | def _module_from_name(name: str) -> types.ModuleType: function _module_getattr (line 272) | def _module_getattr(mod: types.ModuleType, attr: str) -> Any: function _find_subclass (line 281) | def _find_subclass(spec: str, superclass: TypeForm): function _maybe_generic (line 370) | def _maybe_generic( function _return_prospective (line 395) | def _return_prospective(obj: Any, annotation: TypeForm, factory: str) ->... function get_unspecified_from_annotation (line 426) | def get_unspecified_from_annotation(annotation: TypeForm) -> Callable[..... class standard (line 453) | class standard(MetaFactory): method __init__ (line 454) | def __init__( method __repr__ (line 466) | def __repr__(self) -> str: method annotation (line 470) | def annotation(self) -> TypeForm: method default_module (line 477) | def default_module(self) -> types.ModuleType | str | None: method computed_unspecified (line 488) | def computed_unspecified(self) -> Callable[..., Any] | None: method unspecified_factory (line 495) | def unspecified_factory(self) -> Callable[..., Any] | None: method from_string (line 507) | def from_string(self, factory: str) -> Callable[..., Any]: method perform_cast (line 594) | def perform_cast(self, value: str): FILE: chz/field.py function field (line 15) | def field( class Field (line 105) | class Field: method __init__ (line 106) | def __init__( method logical_name (line 200) | def logical_name(self) -> str: method x_name (line 209) | def x_name(self) -> str: method final_type (line 213) | def final_type(self) -> TypeForm: method x_type (line 231) | def x_type(self) -> TypeForm: method meta_factory (line 237) | def meta_factory(self) -> chz.factories.MetaFactory | None: method get_munger (line 260) | def get_munger(self) -> Callable[[Any], None] | None: method metadata (line 274) | def metadata(self) -> dict[str, Any] | None: method __repr__ (line 277) | def __repr__(self): method versioning_key (line 280) | def versioning_key(self) -> tuple[str, ...]: FILE: chz/mungers.py class Munger (line 16) | class Munger: method __call__ (line 19) | def __call__(self, value: Any, *, chzself: Any = None, field: Field | ... class if_none (line 23) | class if_none(Munger): method __init__ (line 26) | def __init__(self, replacement: Callable[[Any], Any]): method __call__ (line 29) | def __call__(self, value: _T | None, *, chzself: Any = None, field: Fi... class attr_if_none (line 35) | class attr_if_none(Munger): method __init__ (line 38) | def __init__(self, replacement_attr: str): method __call__ (line 41) | def __call__(self, value: _T | None, *, chzself: Any = None, field: Fi... class default_munger (line 47) | class default_munger(Munger): method __init__ (line 48) | def __init__(self, fn: Callable[[Any, Any], Any]): method __call__ (line 51) | def __call__(self, value: Any, *, chzself: Any = None, field: Field | ... class freeze_dict (line 57) | class freeze_dict(Munger): method __call__ (line 61) | def __call__( method __call__ (line 66) | def __call__( method __call__ (line 70) | def __call__( FILE: chz/tiepin.py function type_repr (line 35) | def type_repr(typ) -> str: function _approx_type_to_bytes (line 69) | def _approx_type_to_bytes(t) -> bytes: function approx_type_hash (line 103) | def approx_type_hash(t) -> str: function eval_in_context (line 107) | def eval_in_context(annot: str, obj: object) -> typing.Any: function maybe_eval_in_context (line 149) | def maybe_eval_in_context(annot: str, obj: object) -> typing.Any: function is_instantiable_type (line 172) | def is_instantiable_type(t: TypeForm) -> typing.TypeGuard[InstantiableTy... function is_union_type (line 177) | def is_union_type(t: TypeForm) -> bool: function is_typed_dict (line 183) | def is_typed_dict(t: TypeForm) -> bool: class CastError (line 187) | class CastError(Exception): function _module_from_name (line 191) | def _module_from_name(name: str) -> types.ModuleType: function _module_getattr (line 198) | def _module_getattr(mod: types.ModuleType, attr: str) -> typing.Any: function _sort_for_union_preference (line 207) | def _sort_for_union_preference(typs: tuple[TypeForm, ...]): function is_args_unpack (line 225) | def is_args_unpack(t: TypeForm) -> bool: function is_kwargs_unpack (line 232) | def is_kwargs_unpack(t: TypeForm) -> bool: function _unpackable_arg_length (line 236) | def _unpackable_arg_length(t: TypeForm) -> tuple[int, bool]: function _cast_unpacked_tuples (line 261) | def _cast_unpacked_tuples( function _simplistic_try_cast (line 304) | def _simplistic_try_cast(inst_str: str, typ: TypeForm): class _SignatureOf (line 524) | class _SignatureOf: method __init__ (line 525) | def __init__(self, fn: typing.Callable, strip_self: bool = False): function is_subtype (line 554) | def is_subtype(left: TypeForm, right: TypeForm) -> bool: function is_subtype_instance (line 808) | def is_subtype_instance(inst: typing.Any, typ: TypeForm) -> bool: function simplified_union (line 1011) | def simplified_union(types): function _simplistic_type_of_value (line 1037) | def _simplistic_type_of_value(value: object) -> TypeForm: FILE: chz/util.py class MISSING_TYPE (line 1) | class MISSING_TYPE: method __repr__ (line 2) | def __repr__(self) -> str: FILE: chz/validators.py class validate (line 13) | class validate: method __init__ (line 14) | def __init__(self, fn: Callable[[Any], None]): method __set_name__ (line 17) | def __set_name__(self, owner: Any, name: str) -> None: function _ensure_chz_validators (line 23) | def _ensure_chz_validators(cls: Any) -> None: function for_all_fields (line 32) | def for_all_fields(fn: Callable[[Any, str], None]) -> Callable[[Any], No... function instancecheck (line 40) | def instancecheck(self: Any, attr: str) -> None: function typecheck (line 48) | def typecheck(self: Any, attr: str) -> None: function instance_of (line 65) | def instance_of(typ: type) -> Callable[[Any, str], None]: function gt (line 76) | def gt(base) -> Callable[[Any, str], None]: function lt (line 85) | def lt(base) -> Callable[[Any, str], None]: function ge (line 94) | def ge(base) -> Callable[[Any, str], None]: function le (line 103) | def le(base) -> Callable[[Any, str], None]: function valid_regex (line 112) | def valid_regex(self: Any, attr: str) -> None: function const_default (line 123) | def const_default(self: Any, attr: str) -> None: function _decorator_typecheck (line 139) | def _decorator_typecheck(self: Any) -> None: function check_field_consistency_in_tree (line 145) | def check_field_consistency_in_tree(obj: Any, fields: set[str], regex_ro... function _find_original_definitions (line 192) | def _find_original_definitions(instance: Any) -> dict[str, tuple[Field, ... function is_override (line 206) | def is_override( class IsOverrideMixin (line 241) | class IsOverrideMixin: method _check_overrides (line 264) | def _check_overrides(self) -> None: FILE: tests/test_blueprint.py function test_entrypoint (line 13) | def test_entrypoint(): function test_entrypoint_nested (line 45) | def test_entrypoint_nested(): function test_apply_strictness (line 62) | def test_apply_strictness(): function test_basic_function_blueprint (line 79) | def test_basic_function_blueprint(): function test_basic_class_blueprint (line 111) | def test_basic_class_blueprint(): function test_blueprint_unused (line 139) | def test_blueprint_unused(): function test_blueprint_unused_nested_default (line 228) | def test_blueprint_unused_nested_default(): function test_blueprint_missing_args (line 243) | def test_blueprint_missing_args(): function three_item_dataset (line 280) | def three_item_dataset(first: str = "a", second: str = "b", third: str =... class Model (line 285) | class Model: class Experiment (line 292) | class Experiment: function test_nested_construction (line 297) | def test_nested_construction(): function test_nested_construction_with_default_value (line 316) | def test_nested_construction_with_default_value(): function test_nested_construction_with_factory_dataset (line 328) | def test_nested_construction_with_factory_dataset(): function test_nested_construction_with_wildcards (line 349) | def test_nested_construction_with_wildcards(): function test_nested_all_defaults (line 402) | def test_nested_all_defaults(): function test_nested_not_all_defaults (line 415) | def test_nested_not_all_defaults(): function test_nested_all_defaults_primitive (line 431) | def test_nested_all_defaults_primitive(): function test_nested_all_defaults_unspecified_nested (line 443) | def test_nested_all_defaults_unspecified_nested(): function test_nested_construction_with_default_factory (line 463) | def test_nested_construction_with_default_factory(): function test_help (line 482) | def test_help(): function test_logical_name_blueprint (line 540) | def test_logical_name_blueprint(): function test_blueprint_unpack_kwargs (line 560) | def test_blueprint_unpack_kwargs(): function test_blueprint_castable_but_subpaths (line 580) | def test_blueprint_castable_but_subpaths(): function test_blueprint_value_but_subpaths (line 602) | def test_blueprint_value_but_subpaths(): function test_blueprint_apply_subpath (line 619) | def test_blueprint_apply_subpath(): function test_blueprint_enum_all_defaults (line 648) | def test_blueprint_enum_all_defaults(): function test_blueprint_functools_partial (line 670) | def test_blueprint_functools_partial(): function test_blueprint_unspecified_functools_partial (line 707) | def test_blueprint_unspecified_functools_partial(): function test_blueprint_positional_only (line 739) | def test_blueprint_positional_only(): function test_blueprint_args_kwargs (line 756) | def test_blueprint_args_kwargs(): FILE: tests/test_blueprint_cast.py function test_castable (line 11) | def test_castable(): function test_castable_object_str (line 69) | def test_castable_object_str(): function test_meta_factory_cast_unspecified (line 78) | def test_meta_factory_cast_unspecified(): function test_chz_cast_dunder (line 106) | def test_chz_cast_dunder(): function test_cast_per_field (line 149) | def test_cast_per_field(): FILE: tests/test_blueprint_errors.py function test_target_bad_signature (line 7) | def test_target_bad_signature(): function test_target_just_plain_old_bad (line 16) | def test_target_just_plain_old_bad(): function test_target_no_params_extraneous (line 21) | def test_target_no_params_extraneous(): function test_nested_target_default_values (line 30) | def test_nested_target_default_values(): function test_blueprint_extraneous_valid_parent (line 49) | def test_blueprint_extraneous_valid_parent(): FILE: tests/test_blueprint_meta_factory.py class A (line 10) | class A: class B (line 14) | class B(A): class C (line 18) | class C(B): function test_meta_factory_subclass (line 22) | def test_meta_factory_subclass(): function test_meta_factory_subclass_limited (line 42) | def test_meta_factory_subclass_limited(): function test_meta_factory_default_subclass (line 59) | def test_meta_factory_default_subclass(): function test_meta_factory_blueprint_unspecified (line 142) | def test_meta_factory_blueprint_unspecified(): function test_meta_factory_blueprint_unspecified_more (line 179) | def test_meta_factory_blueprint_unspecified_more(): function test_meta_factory_blueprint_unspecified_all_default_help (line 219) | def test_meta_factory_blueprint_unspecified_all_default_help(): function test_meta_factory_blueprint_unspecified_optional (line 240) | def test_meta_factory_blueprint_unspecified_optional(): function test_meta_factory_subclass_generic (line 260) | def test_meta_factory_subclass_generic(): function test_meta_factory_optional (line 301) | def test_meta_factory_optional(): function test_meta_factory_union (line 318) | def test_meta_factory_union(): function test_meta_factory_non_chz (line 335) | def test_meta_factory_non_chz(): function test_meta_factory_function_lambda (line 360) | def test_meta_factory_function_lambda(): function test_meta_factory_type_subclass (line 390) | def test_meta_factory_type_subclass(): function test_meta_factory_function_union (line 405) | def test_meta_factory_function_union(): function test_meta_factory_none (line 430) | def test_meta_factory_none(): FILE: tests/test_blueprint_methods.py class Run1 (line 12) | class Run1: method launch (line 15) | def launch(self, cluster: str): method history (line 19) | def history(self): class RunDefault (line 24) | class RunDefault: method launch (line 25) | def launch(self, cluster: str): function test_methods_entrypoint (line 29) | def test_methods_entrypoint(): function test_methods_entrypoint_help (line 50) | def test_methods_entrypoint_help(): class RunAltSelfParam (line 93) | class RunAltSelfParam: method launch (line 96) | def launch(run, cluster: str): function test_methods_entrypoint_self (line 100) | def test_methods_entrypoint_self(): class RunDefaultChild (line 113) | class RunDefaultChild(RunDefault): ... function test_methods_entrypoint_polymorphic (line 116) | def test_methods_entrypoint_polymorphic(): function test_methods_entrypoint_transform (line 122) | def test_methods_entrypoint_transform(): FILE: tests/test_blueprint_reference.py function test_blueprint_reference (line 7) | def test_blueprint_reference(): function test_blueprint_reference_multiple_invalid (line 34) | def test_blueprint_reference_multiple_invalid(): function test_blueprint_reference_nested (line 52) | def test_blueprint_reference_nested(): function test_blueprint_reference_wildcard (line 71) | def test_blueprint_reference_wildcard(): function test_blueprint_reference_wildcard_default (line 93) | def test_blueprint_reference_wildcard_default(): function test_blueprint_reference_wildcard_default_no_default (line 107) | def test_blueprint_reference_wildcard_default_no_default(): function test_blueprint_reference_wildcard_default_constructable (line 123) | def test_blueprint_reference_wildcard_default_constructable(): function test_blueprint_reference_cycle (line 154) | def test_blueprint_reference_cycle(): FILE: tests/test_blueprint_root_polymorphism.py function test_root_polymorphism (line 6) | def test_root_polymorphism(): FILE: tests/test_blueprint_unit.py function test_beta_argv_arg_to_string (line 8) | def test_beta_argv_arg_to_string(): function test_wildcard_key_to_regex (line 41) | def test_wildcard_key_to_regex(): function test_wildcard_key_match (line 52) | def test_wildcard_key_match(): function test_join_arg_path (line 86) | def test_join_arg_path(): function test_arg_map (line 95) | def test_arg_map(): function test_arg_map_wildcard (line 126) | def test_arg_map_wildcard(): function test_layer (line 188) | def test_layer(): function test_collapse_layers (line 198) | def test_collapse_layers(): function test_collapse_blueprint_to_argv (line 245) | def test_collapse_blueprint_to_argv(): function test_apply_from_argv (line 265) | def test_apply_from_argv(): function test_apply_with_types (line 278) | def test_apply_with_types(): function test_castable_eq (line 291) | def test_castable_eq(): FILE: tests/test_blueprint_variadic.py function test_variadic_list (line 15) | def test_variadic_list(): function test_variadic_wildcard (line 47) | def test_variadic_wildcard(): function test_variadic_tuple (line 84) | def test_variadic_tuple(): function test_variadic_dict (line 129) | def test_variadic_dict(): function test_variadic_collections_type (line 143) | def test_variadic_collections_type(): function test_variadic_dict_non_int_or_str_key (line 158) | def test_variadic_dict_non_int_or_str_key(): function test_variadic_dict_unannotated (line 175) | def test_variadic_dict_unannotated(): function test_variadic_typed_dict (line 185) | def test_variadic_typed_dict(): function test_variadic_typed_dict_not_required (line 217) | def test_variadic_typed_dict_not_required(): function test_variadic_default (line 329) | def test_variadic_default(): function test_variadic_default_wildcard_error (line 343) | def test_variadic_default_wildcard_error(): function test_variadic_default_wildcard_error_using_types_from_default (line 371) | def test_variadic_default_wildcard_error_using_types_from_default(): function test_polymorphic_variadic_generic (line 413) | def test_polymorphic_variadic_generic(): FILE: tests/test_data_model.py function test_basic (line 13) | def test_basic(): function _test_construct_helper (line 64) | def _test_construct_helper(X): function test_construct_without_future_annotations (line 89) | def test_construct_without_future_annotations(): function test_construct_with_future_annotations (line 97) | def test_construct_with_future_annotations(): function test_inheritance (line 105) | def test_inheritance(): function test_immutability (line 150) | def test_immutability(): function test_no_post_init (line 204) | def test_no_post_init(): function test_no_annotation (line 215) | def test_no_annotation(): function test_asdict (line 225) | def test_asdict(): function test_asdict_computed_properties (line 252) | def test_asdict_computed_properties(): function test_asdict_include_type (line 283) | def test_asdict_include_type(): class Outer (line 302) | class Outer: class Config (line 304) | class Config: function test_asdict_include_type_nested_class (line 308) | def test_asdict_include_type_nested_class(): function test_asdict_exclude (line 313) | def test_asdict_exclude(): function test_replace (line 329) | def test_replace(): function test_repr (line 386) | def test_repr(): function test_eq (line 412) | def test_eq(): function test_hash (line 426) | def test_hash(): function test_blueprint_values (line 499) | def test_blueprint_values(): function test_blueprint_values_polymorphic (line 605) | def test_blueprint_values_polymorphic(): function test_blueprint_values_variadic (line 684) | def test_blueprint_values_variadic(): function test_blueprint_values_skip_defaults (line 740) | def test_blueprint_values_skip_defaults(): function test_blueprint_values_unspecified_sequence (line 784) | def test_blueprint_values_unspecified_sequence(): function test_duplicate_fields (line 807) | def test_duplicate_fields(): function test_no_type_annotation_on_field (line 817) | def test_no_type_annotation_on_field(): function test_logical_name (line 825) | def test_logical_name(): function test_init_property (line 846) | def test_init_property(): function test_init_property_top_level (line 895) | def test_init_property_top_level(): function test_default_init_property (line 917) | def test_default_init_property(): function test_init_property_x_field (line 928) | def test_init_property_x_field(): function test_conflicting_superclass_no_fields_in_base (line 943) | def test_conflicting_superclass_no_fields_in_base(): function test_conflicting_superclass_field_in_base (line 1016) | def test_conflicting_superclass_field_in_base(): function test_conflicting_superclass_x_field_in_base (line 1059) | def test_conflicting_superclass_x_field_in_base(): function test_field_clobbering_in_same_class (line 1101) | def test_field_clobbering_in_same_class(): function test_dataclass_errors (line 1131) | def test_dataclass_errors(): function test_cloudpickle_main (line 1142) | def test_cloudpickle_main(): function test_protocol (line 1181) | def test_protocol(): function test_abc (line 1199) | def test_abc(): function test_pretty_format (line 1217) | def test_pretty_format(): function test_metadata (line 1277) | def test_metadata(): function test_traverse (line 1285) | def test_traverse(): function test_int_dict_keys (line 1316) | def test_int_dict_keys(): FILE: tests/test_factories.py class A (line 14) | class A: ... class B (line 17) | class B(A): ... class C (line 23) | class C(B): ... class X (line 26) | class X: ... function foo (line 29) | def foo(): function test_standard_subclass (line 39) | def test_standard_subclass(): function test_standard_subclass_unspecified (line 65) | def test_standard_subclass_unspecified(): function test_standard_subclass_module (line 82) | def test_standard_subclass_module(): function test_standard_subclass_object_any (line 115) | def test_standard_subclass_object_any(): function test_standard_type_subclass (line 146) | def test_standard_type_subclass(): function test_standard_type_subclass_unspecified (line 163) | def test_standard_type_subclass_unspecified(): function test_standard_type_subclass_module (line 180) | def test_standard_type_subclass_module(): function test_standard_union (line 191) | def test_standard_union(): function test_standard_union_unspecified (line 210) | def test_standard_union_unspecified(): function test_standard_union_optional (line 229) | def test_standard_union_optional(): function test_standard_union_module (line 246) | def test_standard_union_module(): function test_standard_union_type (line 262) | def test_standard_union_type(): function test_standard_type_generic (line 278) | def test_standard_type_generic(): function test_standard_lambda (line 285) | def test_standard_lambda(): function test_standard_none (line 291) | def test_standard_none(): function test_standard_special_forms (line 297) | def test_standard_special_forms(): function test_standard_subclass_duplicate (line 307) | def test_standard_subclass_duplicate(): FILE: tests/test_munge.py function test_munger (line 9) | def test_munger(): function test_munger_call_count (line 25) | def test_munger_call_count(): function test_munger_conflict (line 47) | def test_munger_conflict(): function test_munge_recursive (line 61) | def test_munge_recursive(): function test_munger_combinators (line 73) | def test_munger_combinators(): function test_munger_x_type (line 97) | def test_munger_x_type(): function test_munger_freeze_dict (line 130) | def test_munger_freeze_dict(): function test_converter (line 144) | def test_converter(): function test_converter_and_munger (line 156) | def test_converter_and_munger(): function test_converter_fn (line 167) | def test_converter_fn(): function if_none_fn (line 180) | def if_none_fn(default: _T) -> Callable[[_T | None], _T]: function test_converter_fn_typed (line 187) | def test_converter_fn_typed(): function test_converter_freeze_dict (line 197) | def test_converter_freeze_dict(): FILE: tests/test_tiepin.py function test_type_repr (line 26) | def test_type_repr(): function test_is_subtype_instance_basic (line 45) | def test_is_subtype_instance_basic(): function test_is_subtype_instance_user_defined_generic (line 71) | def test_is_subtype_instance_user_defined_generic(): function test_is_subtype_instance_user_defined_generic_abc (line 85) | def test_is_subtype_instance_user_defined_generic_abc(): function test_is_subtype_instance_duck_type (line 117) | def test_is_subtype_instance_duck_type(): function test_is_subtype_instance_any (line 135) | def test_is_subtype_instance_any(): function test_is_subtype_instance_list_abc (line 151) | def test_is_subtype_instance_list_abc(): function test_is_subtype_instance_iterable (line 186) | def test_is_subtype_instance_iterable(): function test_is_subtype_instance_tuple (line 232) | def test_is_subtype_instance_tuple(): function test_is_subtype_instance_mapping (line 253) | def test_is_subtype_instance_mapping(): function test_is_subtype_instance_typed_dict (line 280) | def test_is_subtype_instance_typed_dict(): function test_is_subtype_instance_typed_dict_required (line 305) | def test_is_subtype_instance_typed_dict_required(): function test_is_subtype_instance_named_tuple (line 347) | def test_is_subtype_instance_named_tuple(): function test_is_subtype_instance_type_var (line 360) | def test_is_subtype_instance_type_var(): function test_is_subtype_instance_union (line 388) | def test_is_subtype_instance_union(): function test_is_subtype_instance_callable (line 409) | def test_is_subtype_instance_callable() -> None: function test_is_subtype_instance_callable_protocol (line 506) | def test_is_subtype_instance_callable_protocol(): function test_is_subtype_instance_protocol_chz_callable (line 626) | def test_is_subtype_instance_protocol_chz_callable(): function test_is_subtype_instance_protocol_attr (line 646) | def test_is_subtype_instance_protocol_attr(): function test_is_subtype_instance_runtime_protocol (line 676) | def test_is_subtype_instance_runtime_protocol(): function test_is_subtype_instance_literal (line 689) | def test_is_subtype_instance_literal(): function test_is_subtype_instance_type (line 703) | def test_is_subtype_instance_type(): function test_is_subtype_instance_enum (line 726) | def test_is_subtype_instance_enum(): function test_is_subtype_instance_new_type (line 742) | def test_is_subtype_instance_new_type(): function test_is_subtype_instance_literal_string (line 749) | def test_is_subtype_instance_literal_string(): function test_is_subtype_instance_explicit_protocol_lsp_violation (line 754) | def test_is_subtype_instance_explicit_protocol_lsp_violation(): function test_is_subtype_instance_pydantic (line 768) | def test_is_subtype_instance_pydantic() -> None: function test_is_subtype_instance_pydantic_utils (line 780) | def test_is_subtype_instance_pydantic_utils() -> None: function test_is_subtype (line 821) | def test_is_subtype(): function test_is_subtype_protocol (line 884) | def test_is_subtype_protocol(): function test_is_subtype_typed_dict (line 911) | def test_is_subtype_typed_dict(): function test_is_subtype_typevar (line 946) | def test_is_subtype_typevar() -> None: function test_no_return (line 974) | def test_no_return(): function test_try_cast_object_any (line 993) | def test_try_cast_object_any(): function test_try_cast_tuple (line 1005) | def test_try_cast_tuple(): function test_try_cast_list (line 1019) | def test_try_cast_list(): function test_try_cast_sequence_iterable (line 1035) | def test_try_cast_sequence_iterable(): function test_try_cast_dict (line 1063) | def test_try_cast_dict(): function test_try_cast_callable (line 1077) | def test_try_cast_callable(): function test_try_cast_tuple_unpack (line 1103) | def test_try_cast_tuple_unpack(): function test_try_cast_union_overlap (line 1130) | def test_try_cast_union_overlap(): function test_try_cast_enum (line 1150) | def test_try_cast_enum(): function test_try_cast_fractions (line 1166) | def test_try_cast_fractions(): function test_try_cast_pathlib (line 1172) | def test_try_cast_pathlib(): function test_try_cast_typevar (line 1176) | def test_try_cast_typevar(): function test_approx_type_hash (line 1189) | def test_approx_type_hash(): function test_simplistic_type_of_value (line 1221) | def test_simplistic_type_of_value(): FILE: tests/test_todo.py function test_version (line 8) | def test_version(): FILE: tests/test_validate.py function test_validate_readme (line 12) | def test_validate_readme(): function test_validate (line 29) | def test_validate(): function test_validate_replace (line 63) | def test_validate_replace(): function test_for_all_fields (line 74) | def test_for_all_fields(): function test_validate_inheritance_field_level (line 93) | def test_validate_inheritance_field_level(): function test_validate_init_property (line 120) | def test_validate_init_property(): function test_validate_init_property_order (line 147) | def test_validate_init_property_order(): function test_validate_munger (line 160) | def test_validate_munger(): function test_validate_ge_le (line 178) | def test_validate_ge_le() -> None: function test_validate_inheritance_class_level (line 196) | def test_validate_inheritance_class_level(): function test_validate_decorator_option (line 243) | def test_validate_decorator_option(): function test_validate_mixins (line 275) | def test_validate_mixins(): function test_validate_valid_regex (line 305) | def test_validate_valid_regex(): function test_validate_literal (line 317) | def test_validate_literal(): function test_validate_const_default (line 330) | def test_validate_const_default(): function test_validate_field_consistency (line 347) | def test_validate_field_consistency(): function test_is_override_catches_non_overriding (line 422) | def test_is_override_catches_non_overriding() -> None: function test_is_override_catches_bad_types (line 438) | def test_is_override_catches_bad_types() -> None: function test_is_override_mixin_catches_bad_types (line 495) | def test_is_override_mixin_catches_bad_types() -> None: function test_is_override_catches_bad_generic_default_factory (line 542) | def test_is_override_catches_bad_generic_default_factory() -> None: function test_is_override_works_with_default_factory (line 573) | def test_is_override_works_with_default_factory() -> None: function test_is_override_mixin_catches_bad_types_in_subclasses (line 598) | def test_is_override_mixin_catches_bad_types_in_subclasses() -> None: function test_is_override_mixin_works_on_field_default (line 627) | def test_is_override_mixin_works_on_field_default() -> None: function test_is_override_mixin_works_with_x_fields (line 667) | def test_is_override_mixin_works_with_x_fields() -> None: