mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 16:50:02 +02:00
updates DataService import to avoid circular import
This commit is contained in:
parent
083fab0a29
commit
85d6229aa6
@ -12,7 +12,7 @@ from typing import (
|
||||
|
||||
from typing_extensions import TypeIs
|
||||
|
||||
import pydase
|
||||
import pydase.data_service.data_service
|
||||
from pydase.utils.helpers import current_event_loop_exists
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
@ -34,7 +34,7 @@ class TaskStatus(Enum):
|
||||
NOT_RUNNING = "not_running"
|
||||
|
||||
|
||||
class Task(pydase.DataService, Generic[R]):
|
||||
class Task(pydase.data_service.data_service.DataService, Generic[R]):
|
||||
def __init__(
|
||||
self,
|
||||
func: Callable[[Any], Coroutine[None, None, R | None]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user