예제 #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)