Skip to content

Commit 2627ce5

Browse files
authored
Merge branch 'develop' into dependabot/github_actions/actions/upload-artifact-4.3.1
2 parents afe4d00 + f7ca5b0 commit 2627ce5

File tree

3 files changed

+33
-32
lines changed

3 files changed

+33
-32
lines changed

aws_lambda_powertools/metrics/provider/cloudwatch_emf/cloudwatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ def serialize_metric_set(
241241
],
242242
},
243243
# NOTE: Mypy doesn't recognize splats '** syntax' in TypedDict
244-
**dimensions, # type: ignore[misc] # "service": "test_service"
245-
**metadata, # "username": "test"
244+
**dimensions, # "service": "test_service"
245+
**metadata, # type: ignore[typeddict-item] # "username": "test"
246246
**metric_names_and_values, # "single_metric": 1.0
247247
}
248248

examples/idempotency/src/working_with_idempotent_function_custom_output_serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, order_id: int):
3030

3131

3232
def order_to_dict(x: Type[OrderOutput]) -> Dict: # (1)!
33-
return x.__dict__
33+
return dict(x.__dict__)
3434

3535

3636
def dict_to_order(x: Dict) -> OrderOutput: # (2)!

poetry.lock

Lines changed: 30 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)