Skip to content

Commit 2ab0cf1

Browse files
committed
ran formatter
1 parent 1621855 commit 2ab0cf1

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

custom_metric/worker.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@
1616

1717

1818
class SimpleWorkerInterceptor(Interceptor):
19-
2019
def intercept_activity(
2120
self, next: ActivityInboundInterceptor
2221
) -> ActivityInboundInterceptor:
2322
return CustomScheduleToStartInterceptor(next)
2423

2524

2625
class CustomScheduleToStartInterceptor(ActivityInboundInterceptor):
27-
2826
async def execute_activity(self, input: ExecuteActivityInput):
2927

3028
schedule_to_start = (

custom_metric/workflow.py

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

1010
@workflow.defn
1111
class StartTwoActivitiesWorkflow:
12-
1312
@workflow.run
1413
async def run(self):
1514
# Request two concurrent activities with only one task slot so

tests/custom_metric/workflow_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313

1414
async def test_custom_metric_workflow(client: Client):
15-
1615
@activity.defn(name="print_message")
1716
async def print_message_mock():
1817
global activity_counter

0 commit comments

Comments
 (0)