-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add new jobs and assets for retrieving BAN addresses for owner and housings #1070
Conversation
loicguillois
commented
Jan 2, 2025
•
edited
Loading
edited
️✅ There are no secrets present in this pull request anymore.If these secrets were true positive and are still valid, we highly recommend you to revoke them. 🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request. |
4c88998
to
05814dd
Compare
analytics/dagster/src/assets/populate_housings_ban_addresses.py
Outdated
Show resolved
Hide resolved
analytics/dagster/src/assets/populate_housings_ban_addresses.py
Outdated
Show resolved
Hide resolved
analytics/dagster/src/assets/populate_housings_ban_addresses.py
Outdated
Show resolved
Hide resolved
analytics/dagster/src/assets/populate_housings_ban_addresses.py
Outdated
Show resolved
Hide resolved
analytics/dagster/src/assets/populate_housings_ban_addresses.py
Outdated
Show resolved
Hide resolved
|
||
@asset( | ||
description="Return housing records from `fast_housing` that have no matching entry in `ban_addresses`.", | ||
required_resource_keys={"psycopg2_connection"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je pense qu'il y a une coquille ici ? Je pense que tu as renommé la ressource entre temps ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il y a bien deux ressources : psycopg2_connection
et sqlalchemy_engine
""" | ||
|
||
try: | ||
with context.resources.psycopg2_connection as conn: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utilisation ici