This commit is contained in:
2026-09-06 12:25:37 +02:00
parent d1c22470bb
commit bbe1406afb
13 changed files with 6 additions and 27 deletions
+5 -5
View File
@@ -5,17 +5,17 @@ Revises:
Create Date: 2026-09-04 14:52:00.681450
"""
from typing import Sequence, Union
from collections.abc import Sequence
from alembic import op
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
revision: str = '605e46acc08e'
down_revision: Union[str, Sequence[str], None] = None
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
down_revision: str | Sequence[str] | None = None
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None
def upgrade() -> None:
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
import os
from collections.abc import Generator
from contextlib import contextmanager
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from typing import Any
from sqlalchemy.orm import Session
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
import argparse
from pathlib import Path
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from datetime import date
from decimal import Decimal
from enum import Enum
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from sqlalchemy import (
Column,
Date,
-3
View File
@@ -1,6 +1,3 @@
#!/bin/python
import csv
from pathlib import Path
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
import os
from collections.abc import Generator
-1
View File
@@ -1,4 +1,3 @@
from collections.abc import Callable
from polyfactory.factories.pydantic_factory import ModelFactory
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from sqlalchemy import inspect
from sqlalchemy.orm import Session
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from sqlalchemy import select
from sqlalchemy.orm import Session
+1
View File
@@ -1,6 +1,7 @@
from src.models import B4wExport, Category
from tests.factories import B4wExportFactory
def test_b4wexport_simple():
data = B4wExportFactory.build()
assert isinstance(data, B4wExport)
-2
View File
@@ -1,5 +1,3 @@
#!/bin/python
from src.models import Category