concepts.dsl.dsl_functions.FunctionArgumentResolutionContext#
- class FunctionArgumentResolutionContext[source]#
Bases:
OptionContext
A context manager for controlling the function argument resolution.
- check_overloaded_ambiguity#
whether to check if the function argument resolution is ambiguous.
- Type:
Methods
Make this option context the current context.
exc
([exc_type, from_])Get the current option context.
get_option
(name)Get the option value of the current context.
set_default_option
(name, value)Set the option value for the current context.
- __init__(**init_kwargs)#
- __new__(**kwargs)#
- as_default()#
Make this option context the current context. It will overwrite the current option values.
- classmethod get_default()#
Get the current option context.
- classmethod get_option(name)#
Get the option value of the current context.
- classmethod set_default_option(name, value)#
Set the option value for the current context.