warg.decorators.kw_passing.passes_kws_to

warg.decorators.kw_passing.passes_kws_to(*receiver_funcs: Callable, keep_from_var_kw: bool = False, no_pass_filter: Iterable | None = None) Callable[source]

A contract decorator, attaching this to a function you explicitly state that kws will be passed onward to a receiver function. No call graph checks if this actually enforces this yet. Also all receiver kwargs must be able to be received by receivers if multiple contracts are use

Parameters:
  • no_pass_filter

  • receiver_funcs

  • keep_from_var_kw

Returns: