Skip to content

Commit e054ab2

Browse files
committed
propagate to HasMeasureTrigger
1 parent 415ba2b commit e054ab2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

yaqd-core/yaqd_core/_has_measure_trigger.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
import asyncio
55
import pathlib
6-
from typing import Dict, Any, Optional
6+
from typing import Dict, Any, Optional, TYPE_CHECKING
77
from abc import ABC, abstractmethod
88

99
from yaqd_core import IsSensor, IsDaemon
10-
from ._is_sensor import MeasureType
10+
if TYPE_CHECKING:
11+
from ._is_sensor import MeasureType
1112

1213

1314
class HasMeasureTrigger(IsSensor, IsDaemon, ABC):

yaqd-core/yaqd_core/_is_sensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import yaqd_core
1111

12+
1213
if TYPE_CHECKING:
1314
try:
1415
from typing import TypeAlias

0 commit comments

Comments
 (0)