bilby.core.utils.introspection.infer_args_from_method

bilby.core.utils.introspection.infer_args_from_method(method)[source]

Infers all arguments of a method except for self

Throws out *args and **kwargs type arguments.

Can deal with type hinting!

Returns:
list: A list of strings with the parameters