示例#1
0
文件: http.py 项目: SRabbelier/Casam
 def __init__(self, auth_type=None, values=None, on_update=None):
     _UpdateDict.__init__(self, values or (), on_update)
     if auth_type:
         self['__auth_type__'] = auth_type
示例#2
0
文件: http.py 项目: SRabbelier/Casam
 def __init__(self, values=(), on_update=None):
     _UpdateDict.__init__(self, values or (), on_update)
     self.provided = values is not None