Skip to content

DataFileType

src.utils.files.DataFileType

Bases: TypedDict

Data file type (json, toml, yaml, etc).

Source code in src\utils\files.py
30
31
32
33
34
35
class DataFileType (TypedDict):
    """Data file type (json, toml, yaml, etc)."""
    load: Callable
    dump: Callable
    load_kw: dict[str, Union[Callable, bool, str]]
    dump_kw: dict[str, Union[Callable, bool, str]]