ci: update type packages
This commit is contained in:
parent
0ab9fdebc5
commit
f92e713e98
3 changed files with 4 additions and 3 deletions
|
@ -22,14 +22,14 @@ models = {
|
|||
}
|
||||
|
||||
|
||||
def export(model: db.Model) -> None:
|
||||
def export(model: db.Model) -> None: # type: ignore[name-defined]
|
||||
out = csv.writer(sys.stdout)
|
||||
out.writerow(model.csv_header())
|
||||
for row in model.query.all():
|
||||
out.writerow(row.csv_row())
|
||||
|
||||
|
||||
def impot(model: db.Model) -> None:
|
||||
def impot(model: db.Model) -> None: # type: ignore[name-defined]
|
||||
first = True
|
||||
header = model.csv_header()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue