Skip to content

Commit a8205c2

Browse files
author
Adriano Sanges
committed
Simplify DuckDB connection type annotation in scan_properties.py
- Remove explicit type annotation for DuckDB connection variable - Use type inference for connection variable assignment
1 parent 7ae37da commit a8205c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

real-estate-etl/scan_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def main() -> None:
2323

2424
polars_df: pl.DataFrame = pl.DataFrame(data)
2525

26-
con: duckdb.DuckDBPyConnection = duckdb.connect(f"md:{warehouse_name}?motherduck_token={motherduck_token}")
26+
con = duckdb.connect(f"md:{warehouse_name}?motherduck_token={motherduck_token}")
2727

2828
con.sql("create table if not exists main.properties as select * from polars_df")
2929

0 commit comments

Comments
 (0)