Attention
You’re viewing an old version of the L’ART Research Assistant documentation. The project has moved to https://lart.readthedocs.io/projects/research-assistant.
research_client.settings.eel
Exposes app configuration to Python Eel as Settings.
Functions
|
Return current settings and config documentation. |
|
Validate settings, store in config, and save.. |
- _expose(func)[source]
Wraps, renames and exposes a function to eel.
- Return type:
TypeVar
(F
, bound=Callable
[...
,Any
])- Parameters:
func (F)
- _handleexception(exc)[source]
Passes exception to exceptionhandler if defined, otherwise continues raising.
- Return type:
None
- Parameters:
exc (Exception)
- load()[source]
Return current settings and config documentation.
- Return type:
dict
[str
,dict
[str
,Any
]]
- store(settings)[source]
Validate settings, store in config, and save..
- Return type:
bool
- Parameters:
settings (dict[str, dict[str, Any]])
- F = TypeVar(F, bound=Callable)
Type:
TypeVar
Invariant
TypeVar
bound totyping.Callable
[…,typing.Any
].