def _init_session(self):
if not self.session:<EOL><INDENT>self.session = requests.Session()<EOL>self.session.headers.update({<EOL>'<STR_LIT:Content-Type>': '<STR_LIT:application/json>',<EOL>'<STR_LIT>': '<STR_LIT>' % self.key<EOL>})<EOL><DEDENT>self.session.remove_expired_responses()<EOL>
Iniitializes a requests.Session for us if not already initialized