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

Refactor: Consolidate import datetime #34110

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Sep 5, 2023

There are several files with from airflow.utils.timezone import datetime that at the same time import datetime as dt, making the two variables confusing. How about changing that airflow.utils.timezone.datetime to a more descriptive name?

@boring-cyborg boring-cyborg bot added area:providers area:webserver Webserver related Issues provider:cncf-kubernetes Kubernetes provider related issues labels Sep 5, 2023
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This module is deprecated.
@eladkal is it ok to update it?

@hussein-awala
Copy link
Member

merge main to fix static checks

@potiuk potiuk merged commit 7731255 into apache:main Sep 6, 2023
47 checks passed
@eumiro eumiro deleted the import-datetime branch September 6, 2023 16:34
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers area:webserver Webserver related Issues provider:cncf-kubernetes Kubernetes provider related issues type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants