Skip to content

Commit efd715e

Browse files
committed
Fix type errors
Don't understand why they are showing on this branch only under same versions as main: Python 3.13.1 mypy 1.4.1 (compiled: no)
1 parent 7f6feb4 commit efd715e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

temporalio/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def decode_typed_search_attributes(
13191319
if not metadata_type:
13201320
continue
13211321
key = temporalio.common.SearchAttributeKey._from_metadata_type(
1322-
k, v.metadata.get("type").decode()
1322+
k, metadata_type.decode()
13231323
)
13241324
if not key:
13251325
continue

tests/contrib/pydantic/models_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def make_standard_types_object() -> StandardTypesModel:
200200
)
201201

202202

203-
class StrictStandardTypesModel(StandardTypesModel, strict=True):
203+
class StrictStandardTypesModel(StandardTypesModel, strict=True): # type: ignore
204204
pass
205205

206206

0 commit comments

Comments
 (0)