Skip to content

Commit

Permalink
models ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe thomy committed Oct 17, 2024
1 parent 573b61c commit 47cfacd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/prefect/indicators/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from datetime import datetime, timedelta
from enum import Enum, IntEnum
from typing import Optional
from dateutil.relativedelta import relativedelta

from pydantic import BaseModel
from dateutil.relativedelta import relativedelta
from pydantic import BaseModel # type: ignore


class Level(IntEnum):
Expand Down Expand Up @@ -50,7 +50,7 @@ class PeriodDuration(Enum):
"""Represents the time delta of an IndicatorPeriod."""

DAY = timedelta(days=1)
WEEK = timedelta(days=7)
WEEK = timedelta(days=7)
MONTH = relativedelta(months=1)
QUARTER = relativedelta(months=3)
YEAR = relativedelta(year=1)
YEAR = relativedelta(year=1)

0 comments on commit 47cfacd

Please sign in to comment.