leaguemanager.lib.toolbox¶
Module Contents¶
Functions¶
Clears table of given model. |
|
Converts string to datetime object. |
|
Get the string path of the module. |
Data¶
API¶
- leaguemanager.lib.toolbox.__all__¶
[‘slugify’, ‘clear_table’, ‘str_to_iso’, ‘module_to_os_path’]
- leaguemanager.lib.toolbox.clear_table(session: sqlalchemy.orm.Session, model: leaguemanager.models.base.UUIDBase) None¶
Clears table of given model.
- leaguemanager.lib.toolbox.str_to_iso(date_string: str, format: str)¶
Converts string to datetime object.
- leaguemanager.lib.toolbox.module_to_os_path(module_name: str) pathlib.Path¶
Get the string path of the module.