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