Beispiel #1
0
 def __init__(self, json):
     """ takes in a json string
         Creates a new object
     """
     Document.__init__(self)
     self.from_json(json)
     self.validate()
Beispiel #2
0
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)
     self.authenticated = False
Beispiel #3
0
 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 = {}
Beispiel #4
0
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)
     self.authenticated = False
Beispiel #5
0
 def __init__(self, *args, **kwargs):
     # Document needs a lot of parameters
     Document.__init__(self, *args, **kwargs)