Skip to content

Commit c3d1b4b

Browse files
author
Adriano Sanges
committed
Update scan_properties.py to load environment variables from a specific path
- Change the load_dotenv() function to load environment variables from "../.env" for improved configuration management - Ensure the script can access the necessary environment variables for execution
1 parent 434abf6 commit c3d1b4b

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
@@ -12,7 +12,7 @@
1212
if __name__ == "__main__":
1313

1414

15-
load_dotenv()
15+
load_dotenv("../.env")
1616

1717
url: str = os.getenv("scrape_url")
1818
warehouse_name: str = os.getenv("warehouse_name")

0 commit comments

Comments
 (0)