def inner(func: t.Callable) -> t.Callable: func.override = kwargs func.override_reset = bypass_defaults return func