Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Nov 30, 2025

Another small increment to remove global statements for PR #58116

This removes global statement in celery, a classsic thing where functools.cache() can help. Also centralization of config retrieval in this case makes code better in general.

global is evil.

@jscheffl jscheffl force-pushed the bugfix/remove-global-from-celery branch 2 times, most recently from 7d647ea to 9a1f29d Compare December 2, 2025 21:41
@jscheffl jscheffl force-pushed the bugfix/remove-global-from-celery branch from 9a1f29d to e326e6d Compare December 3, 2025 05:49
@jscheffl jscheffl merged commit 28e6122 into apache:main Dec 3, 2025
79 checks passed
bbovenzi pushed a commit to astronomer/airflow that referenced this pull request Dec 3, 2025
* Remove global from celery provider

* Remove global from celery provider, add caching
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
* Remove global from celery provider

* Remove global from celery provider, add caching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants