@classmethod<EOL><INDENT>def query(cls, select, qb=None):<DEDENT>
if not qb:<EOL><INDENT>qb = QuickBooks()<EOL><DEDENT>json_data = qb.query(select)<EOL>obj_list = []<EOL>if cls.qbo_object_name in json_data["<STR_LIT>"]:<EOL><INDENT>for item_json in json_data["<STR_LIT>"][cls.qbo_object_name]:<EOL><INDENT>obj_list.append(cls.from_json(item_json))<EOL><DEDENT><DEDENT>return obj_list<EOL>
:param select: QBO SQL query select statement
:param qb:
:return: Returns list