bootstrap
dev_tool.launcher.bootstrap
F = TypeVar('F', bound=(Callable[..., Any]))
module-attribute
log = logging.getLogger(__name__)
module-attribute
bootstrap
A decorator that ensures the basic configuration files exist before executing a function.
This decorator creates default configuration files if they don't exist.
Parameters:
-
func(F) –The function to decorate.
Returns:
-
F–The decorated function.