Functions
get_env
3
Any
▼
Create a kida Environment with the built-in template loader.
**Returns a kida …
get_env
3
Any
▼
def get_env(*, theme: dict | None = None, enable_capture: bool = False, **kwargs: Any) -> Any
Create a kida Environment with the built-in template loader.
Returns a kida Environment with a chained loader: user templates -> milo built-in templates -> kida components.
Parameters
| Name | Type | Description |
|---|---|---|
theme |
dict | None |
Optional dict of None
|
enable_capture |
bool |
Forward to kida as False
|
**kwargs |
Any |
Returns
Any