import os

import app.database.seed.seed_helper as helper
from app.translation.deserializer import Deserializer
from app.extensions import db


real_madrid = {
    'name': '<NAME>',
    'players': helper.read_csv_file(os.path.join(os.path.dirname(__file__), 'players.csv')),
}

team = Deserializer().deserialize_team(real_madrid)
db.session.add(team)

import os

import app.database.seed.seed_helper as helper
from app.translation.deserializer import Deserializer
from app.extensions import db


real_madrid = {
    'name': '<NAME>',
    'players': helper.read_csv_file(os.path.join(os.path.dirname(__file__), 'players.csv')),
}

team = Deserializer().deserialize_team(real_madrid)
db.session.add(team)
