def get_all(): return [Player.json(player) for player in Player.query.all()]
def get_by_id(_id): return Player.json(Player.query.filter_by(id=_id).first())
def get_all(): return [Player.json(player) for player in Player.query.all()]
def get_by_id(_id): return Player.json(Player.query.filter_by(id=_id).first())