Typings - cihai.types
¶
Typings for cihai.
This is meant to be imported from inside typing.TYPE_CHECKING
so it does not
require typing_extensions
at runtime:
>>> from typing import TYPE_CHECKING
>>> if TYPE_CHECKING:
... from .types import DirsConfigDict
>>> def my_fn(dir_config: "DirsConfigDict") -> None:
... pass
- class cihai.types.DirsConfigDict[source]¶
Bases:
TypedDict
Directory config dictionary.
-
cache:
Path
¶
-
log:
Path
¶
-
data:
Path
¶
-
cache:
- class cihai.types.RawConfigDict[source]¶
Bases:
TypedDict
Raw, unresolved configuration dictionary.
-
plugins:
NotRequired
[Dict
[str
,RawPluginConfigDict
]]¶
-
database:
RawDatabaseConfigDict
¶
-
dirs:
RawDirsConfigDict
¶
-
plugins: