In bash you can use $@ or $* to get a list of arguments of the function/method as a list. Does python have something similar? I'm trying to do a sort of logging where the log for a function will print out the function arguments.
Example
def foo(a: str, b: List)
print(magic_get_args_function());
....
foo("h", [1, 2, 3])
Output
h, [1, 2, 3] # or even include the argument names if possible