ubii.framework.util package¶
- ubii.framework.util.debug(enabled: bool | None = None) bool¶
Call without arguments to get current debug state, pass truthy value to set debug mode.
- Parameters:
enabled – If passed, turns debug mode on or off
- Returns:
debug value
The following names are imported from elsewhere, to combine all “utility” methods in one place.
- ubii.framework.util.accessor¶
refer to
codestare.async_utils.accessor
- ubii.framework.util.condition_property¶
- ubii.framework.util.make_async¶
refer to
codestare.async_utils.make_async
- ubii.framework.util.CoroutineWrapper¶
- ubii.framework.util.TaskNursery¶
refer to
codestare.async_utils.TaskNursery
- ubii.framework.util.async_exit_on_exc¶
- ubii.framework.util.RegistryMeta¶
refer to
codestare.async_utils.RegistryMeta
- ubii.framework.util.Registry¶
refer to
codestare.async_utils.Registry
- ubii.framework.util.similar¶
- ubii.framework.util.hook¶
refer to
ubii.framework.util.functools.hook
- ubii.framework.util.registry¶
- ubii.framework.util.exc_handler_decorator¶
refer to
ubii.framework.util.functools.exc_handler_decorator
- ubii.framework.util.log_call¶
- ubii.framework.util.ProtoRegistry¶
- ubii.framework.util.function_chain¶
- ubii.framework.util.compose¶
- ubii.framework.util.awaitable_predicate¶
refer to
ubii.framework.util.functools.awaitble_predicate
- ubii.framework.util.make_dict¶
- ubii.framework.util.merge_dicts¶
refer to
ubii.framework.util.functools.merge_dicts
- ubii.framework.util.async_compose¶
- ubii.framework.util.enrich¶
refer to
ubii.framework.util.functools.enrich
- ubii.framework.util.calc_delta¶
- ubii.framework.util.document_decorator¶
- ubii.framework.util.dunder¶
refer to
ubii.framework.util.functools.dunder