get_func_full_args
Return a list of (argument name, default value) tuples. If the argument does not have a default value, omit it in the tuple. Arguments such as *args and **kwargs are also included.
def get_func_full_args(
func: callable
) - > list
Return a list of (argument name, default value) tuples. If the argument does not have a default value, omit it in the tuple. Arguments such as *args and **kwargs are also included.
Parameters
| Name | Type | Description |
|---|---|---|
| func | callable | The function or callable object from which to extract argument names and default values. |
Returns
| Type | Description |
|---|---|
list | A list of tuples where each tuple contains the argument name and optionally its default value if one exists. |