コード例 #1
0
ファイル: pycontrol.py プロジェクト: p0i0/pycontrol
 def __init__(self, *args, **kwargs):
     HttpAuthenticated.__init__(self, *args, **kwargs)
コード例 #2
0
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     self.verify = kwargs.pop('verify', True)
     self.session = requests.Session()
     # super won't work because not using new style class
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #3
0
	def __init__(self, **kwargs):
		self.cert = kwargs.pop('cert', None)
		self.verify = kwargs.pop('verify', True)
		self.session = requests.Session()
		# super won't work because not using new style class
		HttpAuthenticated.__init__(self, **kwargs)
コード例 #4
0
ファイル: client.py プロジェクト: Tethik/pybankid
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     self.verify_cert = kwargs.pop('verify_cert', None)
     # super won't work because HttpAuthenticated
     # does not use new style class
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #5
0
ファイル: transport.py プロジェクト: SUNET/pynavet
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     self.verify = kwargs.pop('verify', True)
     # Can't pass this one on to HttpAuthenticated. Crashes on unknown attributes.
     kwargs.pop('debug', False)
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #6
0
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     # super won't work because not using new style class
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #7
0
ファイル: transport.py プロジェクト: SUNET/pymmclient
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     self.verify = kwargs.pop('verify', True)
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #8
0
ファイル: main.py プロジェクト: lzefyrus/oldprojectsreference
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #9
0
ファイル: soap.py プロジェクト: humblejok/seq_common
 def __init__(self, **kwargs):
     self.cert = kwargs.pop('cert', None)
     # super won't work because not using new style class
     HttpAuthenticated.__init__(self, **kwargs)
コード例 #10
0
ファイル: pycontrol.py プロジェクト: dlopes7/pycontrol
 def __init__(self, *args, **kwargs):
    HttpAuthenticated.__init__(self, *args, **kwargs)
コード例 #11
0
 def __init__(self, **kwargs):
     self.verify = kwargs.pop('verify', None)
     self.auth = (kwargs.pop('username',
                             None), kwargs.pop('password', None))
     HttpAuthenticated.__init__(self, **kwargs)