Skip to content
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

ExecutorConfigType should be cacheable #26498

Merged

Conversation

dstandish
Copy link
Contributor

Apparently the cache_ok attribute must be applied to all subclasses too. So we must apply it here. This allows sqlalchemy to use the caching behavior introduced with version 1.4. See https://docs.sqlalchemy.org/en/14/core/type_api.html#sqlalchemy.types.ExternalType.cache_ok for more info.

Apparently the cache_ok attribute must be applied to all subclasses too.  So we must apply it here.  This allows sqlalchemy to use the caching behavior introduced with version 1.4.  See https://docs.sqlalchemy.org/en/14/core/type_api.html#sqlalchemy.types.ExternalType.cache_ok for more info.
@potiuk potiuk added this to the Airflow 2.4.1 milestone Sep 19, 2022
@dstandish dstandish merged commit ba9edda into apache:main Sep 20, 2022
@dstandish dstandish deleted the executor-config-type-should-be-cacheable branch September 20, 2022 05:18
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Sep 23, 2022
jedcunningham pushed a commit that referenced this pull request Sep 23, 2022
Apparently the cache_ok attribute must be applied to all subclasses too.  So we must apply it here.  This allows sqlalchemy to use the caching behavior introduced with version 1.4.  See https://docs.sqlalchemy.org/en/14/core/type_api.html#sqlalchemy.types.ExternalType.cache_ok for more info.

(cherry picked from commit ba9edda)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants