示例#1
0
文件: build.py 项目: cs181f/project3
 def __init__(self, json):
     """ takes in a json string
         Creates a new object
     """
     Document.__init__(self)
     self.from_json(json)
     self.validate()
示例#2
0
文件: users.py 项目: zesk06/scores
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)
     self.authenticated = False
示例#3
0
文件: play.py 项目: zesk06/scores
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)
     # store the elo per player (before, after)
     self.elos_per_player = {}
示例#4
0
文件: users.py 项目: zesk06/scores
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)
     self.authenticated = False
示例#5
0
文件: play.py 项目: zesk06/scores
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)