Skip to content

Commit ce1f8f2

Browse files
committed
fix linter
Signed-off-by: Tim Li <[email protected]>
1 parent 0c82fb0 commit ce1f8f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cadence/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import os
22
import socket
33
import uuid
4-
from dataclasses import dataclass
54
from datetime import timedelta
6-
from typing import TypedDict, Unpack, Any, cast, Union, Optional, Callable
5+
from typing import TypedDict, Unpack, Any, cast, Union, Callable
76

87
from grpc import ChannelCredentials, Compression
98
from google.protobuf.duration_pb2 import Duration
@@ -207,7 +206,7 @@ async def start_workflow(
207206
Exception: If the gRPC call fails
208207
"""
209208
# Convert kwargs to StartWorkflowOptions and validate
210-
options = _validate_and_apply_defaults(StartWorkflowOptions(options_kwargs))
209+
options = _validate_and_apply_defaults(StartWorkflowOptions(**options_kwargs))
211210

212211
# Build the gRPC request
213212
request = await self._build_start_workflow_request(workflow, args, options)

0 commit comments

Comments
 (0)