Skip to content

Commit 01212ed

Browse files
committed
lint fi
1 parent 8ac5750 commit 01212ed

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from ast import List
21
from dataclasses import dataclass
32
from typing import Callable
43

@@ -7,8 +6,6 @@
76
from cadence.data_converter import DataConverter
87
from cadence.api.v1.service_worker_pb2 import PollForDecisionTaskResponse
98

10-
11-
129
@dataclass
1310
class WorkflowContext:
1411
domain: str
@@ -20,11 +17,12 @@ class WorkflowContext:
2017

2118
@dataclass
2219
class DecisionResult:
23-
decisions: List[Decision]
20+
decisions: list[Decision]
2421

2522
class WorkflowEngine:
2623
def __init__(self, context: WorkflowContext):
2724
self._context = context
2825

26+
# TODO: Implement this
2927
def process_decision(self, decision_task: PollForDecisionTaskResponse) -> DecisionResult:
30-
pass
28+
return DecisionResult(decisions=[])

0 commit comments

Comments
 (0)