Python and SQLAlchemy insert data from API (one to many relationship and more 1000 rows)
Advertisements I’m have a problem with method insert from SQLAlchemy. When i want to insert data in my ORM model tabel i get next problem: ORM models tabel with one to many relationship: class OzonProductPrice(Base): __tablename__ = "ozon_product_price" id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True) articul: Mapped[str] = mapped_column(String(120)) brand: Mapped[str] = mapped_column(String(50)) product_price: Mapped[float] product_price_plus_invest: Mapped[float]… Read More Python and SQLAlchemy insert data from API (one to many relationship and more 1000 rows)