def print_help(self):
keyfunc = lambda x: (x.resource_name, x.__doc__.strip())<EOL>resources = groupby(sorted([x for x in [getattr(self, resource) for resource in dir(self)] if (hasattr(x, '<STR_LIT>') and<EOL>x.is_api_call and x.is_supported_api)],<EOL>key=keyfunc),<EOL>key=keyfunc)<EOL>for resource_desc, resource_methods in resources:<EOL><INDENT>print(resource_desc[<NUM_LIT:0>])<EOL>print('<STR_LIT:\t>', resource_desc[<NUM_LIT:1>])<EOL>print()<EOL>print('<STR_LIT:\t>', '<STR_LIT>')<EOL>for r in resource_methods:<EOL><INDENT>method_header = r.__name__ + '<STR_LIT:(>'<EOL>if r._get_args:<EOL><INDENT>method_header += '<STR_LIT:U+002C>'.join(r._get_args)<EOL><DEDENT>if r._put_or_post_args:<EOL><INDENT>put_or_post_args = [arg['<STR_LIT:name>'] for arg in reduce(lambda x, y: x+y, list(r._put_or_post_args.values()))]<EOL>method_header += '<STR_LIT>' + '<STR_LIT:U+002C>'.join(put_or_post_args) + '<STR_LIT:}>'<EOL><DEDENT>method_header += '<STR_LIT:)>'<EOL>method_desc = "<STR_LIT>"<EOL>if r.__name__.startswith('<STR_LIT>'):<EOL><INDENT>method_desc = '<STR_LIT>' + r._resource_uri<EOL><DEDENT>if r.__name__.startswith('<STR_LIT>'):<EOL><INDENT>method_desc = '<STR_LIT>' + r._resource_uri<EOL><DEDENT>if r.__name__.startswith('<STR_LIT>'):<EOL><INDENT>method_desc = '<STR_LIT>' + r._resource_uri<EOL><DEDENT>if r.__name__.startswith('<STR_LIT>'):<EOL><INDENT>method_desc = '<STR_LIT>' + r._resource_uri<EOL><DEDENT>print('<STR_LIT>', method_header, '<STR_LIT>', method_desc)<EOL><DEDENT>print()<EOL><DEDENT>
Prints the api method info to stdout for debugging.