@classmethod<EOL><INDENT>def get_graph(cls, response):<DEDENT>
if cls.is_graph(response): <EOL><INDENT>return response<EOL><DEDENT>if hasattr(response, '<STR_LIT>'): <EOL><INDENT>if len(response) > <NUM_LIT:0> andcls.is_graph(response[<NUM_LIT:0>]): <EOL><INDENT>return response[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>
Given a Flask response, find the rdflib Graph