Skip to content

Commit

Permalink
Fix direct use of cached_property module. (#16710)
Browse files Browse the repository at this point in the history
On Python 3.8 and 3.9 we use the built in functools decorator for this.
  • Loading branch information
ashb authored Jun 29, 2021
1 parent 1963000 commit 0c95db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/timetables/schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
import datetime
import typing

from cached_property import cached_property
from croniter import CroniterBadCronError, CroniterBadDateError, croniter
from dateutil.relativedelta import relativedelta
from pendulum import DateTime

from airflow.compat.functools import cached_property
from airflow.exceptions import AirflowTimetableInvalid
from airflow.typing_compat import Protocol
from airflow.utils.dates import cron_presets
Expand Down

0 comments on commit 0c95db5

Please sign in to comment.