Closed
Conversation
vperron
reviewed
Jul 15, 2025
| # This image is the runtime | ||
| ######## | ||
| FROM apache/airflow:2.11.0-python3.12 AS runtime-image | ||
| FROM apache/airflow:3.0.2-python3.12 AS runtime-image |
vperron
reviewed
Jul 15, 2025
|
|
||
| environment: | ||
| &airflow-common-environment | ||
| AIRFLOW__CORE__AUTH_MANAGER: airflow.providers.fab.auth_manager.fab_auth_manager.FabAuthManager |
Contributor
There was a problem hiding this comment.
from flask_appbuilder.security.manager import AUTH_OAUTH
AUTH_TYPE = AUTH_OAUTH
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = "Viewer"
CSRF_ENABLED = True
OAUTH_PROVIDERS = [
{
'name': 'google',
'icon': 'fa-google',
'token_key': 'access_token',
'remote_app': {
'client_id': 'your-google-client-id.apps.googleusercontent.com',
'client_secret': 'your-google-client-secret',
'api_base_url': 'https://www.googleapis.com/oauth2/v2/',
'client_kwargs': {'scope': 'email profile'},
'request_token_url': None,
'access_token_url': 'https://accounts.google.com/o/oauth2/token',
'authorize_url': 'https://accounts.google.com/o/oauth2/auth'
},
'whitelist': ['@yourdomain.com'] # Optional: restrict to specific domains
}
]mais sûrement YAGNI 😄
Contributor
Contributor
|
Pour info on annonce la fin de la dépendance à FAB pour très bientot (la MAJ à Py3.13 en dépend d'ailleurs): Ah et puis oups pour Sentry 🤷 |
4f0219e to
3e36415
Compare
This way downstream models are not explicitely dependent. And now the tables can be simply updated, without cascades. Another possible way would have been to load with a tmp table, truncate and copy.
- add a factory for common dag args - refactor layout with org namespace - replace `concurrency` with `max_active_tasks` - set `max_actives_runs` - regroup all dags and tasks common utils - use `chain` operator to prevent typing warnings
3e36415 to
1d34dd1
Compare
Contributor
|
Je me permets de refermer cette PR, on ouvrira si besoin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.