Skip to content

Commit b75172e

Browse files
author
Kowser
committed
Clean redundant typecheck
1 parent 3d591d0 commit b75172e

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/conductor/client/scheduler_client.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
from __future__ import annotations
2-
import logging
32
from abc import ABC, abstractmethod
4-
from typing import Optional, List, TYPE_CHECKING
3+
from typing import Optional, List
54
from conductor.client.http.models.workflow_schedule import WorkflowSchedule
65
from conductor.client.http.models.save_schedule_request import SaveScheduleRequest
76
from conductor.client.http.models.search_result_workflow_schedule_execution_model import \
87
SearchResultWorkflowScheduleExecutionModel
98
from conductor.client.orkes.models.metadata_tag import MetadataTag
109

11-
if TYPE_CHECKING:
12-
from conductor.client.ai.schedule import Schedule, ScheduleInfo
13-
14-
# AgentRuntime applies the user-configured log level to logging.getLogger("conductor.ai"),
15-
# and schedule reconciliation must keep honoring it — do not rename this logger.
16-
_logger = logging.getLogger("conductor.ai.agents.schedule")
17-
18-
1910
class SchedulerClient(ABC):
2011
@abstractmethod
2112
def save_schedule(self, save_schedule_request: SaveScheduleRequest):

0 commit comments

Comments
 (0)