@staticmethod
def _parse_args(s: str):
    'https://stackoverflow.com/questions/49723047/parsing-a-string-as-a-\n        python-argument-list.'
    args = 'f({})'.format(s)
    tree = ast.parse(args)
    funccall = tree.body[0].value
    params = {}
    for arg in funccall.keywords:
        try:
            params[arg.arg] = ast.literal_eval(arg.value)
        except ValueError:
            params[arg.arg] = arg.value.id
    return params
https://stackoverflow.com/questions/49723047/parsing-a-string-as-a-
python-argument-list.
@staticmethod
def _parse_args(s: str):
    'https://stackoverflow.com/questions/49723047/parsing-a-string-as-a-\n        python-argument-list.'
    args = 'f({})'.format(s)
    tree = ast.parse(args)
    funccall = tree.body[0].value
    params = {}
    for arg in funccall.keywords:
        try:
            params[arg.arg] = ast.literal_eval(arg.value)
        except ValueError:
            params[arg.arg] = arg.value.id
    return params