torch_ecg.utils.get_required_args

torch_ecg.utils.get_required_args(func_or_cls: callable) List[str][source]

Get the required positional arguments of a function or class.

Parameters:

func_or_cls (callable) – The function or class to get the required arguments of.

Returns:

required_args – Names of required arguments of the function or class.

Return type:

List[str]