Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aaazzam committed Jan 2, 2025
1 parent f1b7bb5 commit 3ac509e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/prefect/client/orchestration/_automations/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
if TYPE_CHECKING:
from uuid import UUID

from prefect.client.schemas.sorting import AutomationSort
from prefect.events.schemas.automations import Automation, AutomationCore


Expand Down Expand Up @@ -99,6 +98,7 @@ def read_automations_by_name(self, name: str) -> list["Automation"]:
Returns:
a list of Automation model representations of the automations
"""
from prefect.client.schemas.sorting import AutomationSort
from prefect.events.filters import (
AutomationFilter,
AutomationFilterName,
Expand Down Expand Up @@ -255,6 +255,7 @@ async def read_automations_by_name(self, name: str) -> list["Automation"]:
Returns:
a list of Automation model representations of the automations
"""
from prefect.client.schemas.sorting import AutomationSort
from prefect.events.filters import (
AutomationFilter,
AutomationFilterName,
Expand Down

0 comments on commit 3ac509e

Please sign in to comment.