dependent_argument

skypy.utils.dependent_argument(dependent_arg, *independent_args)[source] [edit on github]

Decorator to evaluate a dependent argument.

Parameters:
dependent_argstr

The name of the decorated function’s dependent argument that can optionally be passed as a callable object to be evaluated.

independent_argstuple

The names of the decorated function’s independent arguments to be passed as function arguments when evaluating the dependent argument.