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