Skip to content

Commit d9248e6

Browse files
committed
Export with python
1 parent b4c6ed0 commit d9248e6

28 files changed

Lines changed: 2910 additions & 10 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"changes":{"crates/vespertide-exporter/Cargo.toml":"Patch","crates/vespertide-cli/Cargo.toml":"Patch","crates/vespertide-loader/Cargo.toml":"Patch","crates/vespertide-core/Cargo.toml":"Patch","crates/vespertide/Cargo.toml":"Patch","crates/vespertide-config/Cargo.toml":"Patch","crates/vespertide-macro/Cargo.toml":"Patch","crates/vespertide-query/Cargo.toml":"Patch","crates/vespertide-naming/Cargo.toml":"Patch","crates/vespertide-planner/Cargo.toml":"Patch"},"note":"Export with python","date":"2026-01-04T13:02:06.654110700Z"}

crates/vespertide-exporter/src/snapshots/vespertide_exporter__orm__tests__render_entity_snapshots@sqlalchemy.snap

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22
source: crates/vespertide-exporter/src/orm.rs
33
expression: result.unwrap()
44
---
5-
# SQLAlchemy model placeholder for test
5+
from __future__ import annotations
6+
7+
8+
from sqlalchemy import Integer
9+
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
10+
11+
12+
class Test(DeclarativeBase):
13+
__tablename__ = "test"
14+
15+
id: Mapped[int] = mapped_column(Integer, primary_key=True)

crates/vespertide-exporter/src/snapshots/vespertide_exporter__orm__tests__render_entity_snapshots@sqlmodel.snap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@
22
source: crates/vespertide-exporter/src/orm.rs
33
expression: result.unwrap()
44
---
5-
# SQLModel placeholder for test
5+
from __future__ import annotations
6+
7+
8+
from sqlmodel import Field, SQLModel
9+
10+
11+
class Test(SQLModel, table=True):
12+
__tablename__ = "test"
13+
14+
id: int = Field(primary_key=True)

crates/vespertide-exporter/src/snapshots/vespertide_exporter__orm__tests__render_entity_with_schema_snapshots@sqlalchemy.snap

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22
source: crates/vespertide-exporter/src/orm.rs
33
expression: result.unwrap()
44
---
5-
# SQLAlchemy model placeholder for test
5+
from __future__ import annotations
6+
7+
8+
from sqlalchemy import Integer
9+
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column
10+
11+
12+
class Test(DeclarativeBase):
13+
__tablename__ = "test"
14+
15+
id: Mapped[int] = mapped_column(Integer, primary_key=True)

crates/vespertide-exporter/src/snapshots/vespertide_exporter__orm__tests__render_entity_with_schema_snapshots@sqlmodel.snap

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@
22
source: crates/vespertide-exporter/src/orm.rs
33
expression: result.unwrap()
44
---
5-
# SQLModel placeholder for test
5+
from __future__ import annotations
6+
7+
8+
from sqlmodel import Field, SQLModel
9+
10+
11+
class Test(SQLModel, table=True):
12+
__tablename__ = "test"
13+
14+
id: int = Field(primary_key=True)

0 commit comments

Comments
 (0)