Skip to content

Commit 3eabb10

Browse files
committed
cont fixing import
1 parent 6f52d00 commit 3eabb10

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

backend/infrahub/workflows/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import importlib
2-
from typing import Any, Awaitable, Callable, Self, TypeVar
2+
from typing import Any, Awaitable, Callable, TypeVar
33
from uuid import UUID
44

55
from prefect.client.orchestration import PrefectClient
66
from prefect.client.schemas.actions import DeploymentScheduleCreate
77
from prefect.client.schemas.objects import FlowRun
88
from prefect.client.schemas.schedules import CronSchedule
99
from pydantic import BaseModel
10+
from typing_extensions import Self
1011

1112
from infrahub import __version__
1213

backend/tests/unit/git/test_git_rpc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING, Any, Optional, Self
3+
from typing import TYPE_CHECKING, Any, Optional
44
from unittest.mock import AsyncMock, patch
55

66
from infrahub_sdk import UUIDT, Config, InfrahubClient
7+
from typing_extensions import Self
78

89
from infrahub.core.constants import InfrahubKind, RepositoryInternalStatus
910
from infrahub.exceptions import RepositoryError

0 commit comments

Comments
 (0)