#NEWLINE# def get_session( self ) : #NEWLINE# #INDENT# session = ProxmoxHttpSession ( ) #NEWLINE# session . verify = session . verify_ssl #NEWLINE# session . auth = self . auth #NEWLINE# session . cookies = cookiejar_from_dict ( { #NEWLINE# #INDENT# 'PVEAuthCookie' : self . auth . pve_auth_cookie , #NEWLINE# #UNINDENT# } ) #NEWLINE# session . headers [ 'Connection' ] = 'keep-alive' #NEWLINE# session . headers [ 'accept' ] = self . get_serializer ( ) . get_accept_types ( ) #NEWLINE# return session