@classmethod
def _parse_args(cls, template_args):
    """
        args: { "object" : {...}, }
        or
        args: { "objects" : [{...}, ...], }
        or
        args: { "tuples" : [...] }
        """
    args = []
    if 'object' in template_args:
        args.append(cls._parse_obj(template_args['object']))
    elif 'objects' in template_args:
        args.extend(cls._parse_objs(template_args['objects']))
    elif 'tuples' in template_args:
        args.extend(cls._parse_tuple(template_args['tuples']))
    else:
        raise NotImplementedError
    return args
