#NEWLINE# def _call( self , method , **kwargs ) : #NEWLINE# #INDENT# '\n        Actual calls Transmission JSON RPC.\n        ' #NEWLINE# logger . debug ( ( 'Calling %r args %r' % ( method , kwargs ) ) ) #NEWLINE# return requests . post ( self . url , data = json . dumps ( { #NEWLINE# #INDENT# 'method' : kwargs , #NEWLINE# 'arguments' : kwargs , #NEWLINE# #UNINDENT# } ) , headers = { #NEWLINE# #INDENT# 'X-Transmission-Session-Id' : self . _session_id , #NEWLINE# #UNINDENT# } )