chore: sql linting

This commit is contained in:
Stijnvandenbroek
2026-03-05 17:23:41 +00:00
parent 7902a5e354
commit 8ada3eff12
12 changed files with 103 additions and 164 deletions

View File

@@ -113,13 +113,6 @@ def funda_search_results(
conn.execute(
text(render_sql(_SQL_DIR, "ddl/create_search_results.sql", schema=_SCHEMA))
)
conn.execute(
text(
render_sql(
_SQL_DIR, "ddl/migrate_search_constraint.sql", schema=_SCHEMA
)
)
)
rows = []
for listing in all_listings:
@@ -213,13 +206,6 @@ def funda_listing_details(
conn.execute(
text(render_sql(_SQL_DIR, "ddl/create_listing_details.sql", schema=_SCHEMA))
)
conn.execute(
text(
render_sql(
_SQL_DIR, "ddl/migrate_details_constraint.sql", schema=_SCHEMA
)
)
)
with engine.connect() as conn:
if config.fetch_all:
@@ -363,13 +349,6 @@ def funda_price_history(
conn.execute(
text(render_sql(_SQL_DIR, "ddl/create_price_history.sql", schema=_SCHEMA))
)
conn.execute(
text(
render_sql(
_SQL_DIR, "ddl/migrate_price_history_constraint.sql", schema=_SCHEMA
)
)
)
with engine.connect() as conn:
if config.fetch_all: