Decorator that replaces “/path/to/filename” patterns in the arg or kwarg of the specified name with the correct file path. If the pattern is not encountered nothing is done.
Parameters: | arg_kwarg_name (str) name of the arg/kwarg that should be (tried) to map |
---|