uranusjr commented on code in PR #40156:
URL: https://github.com/apache/airflow/pull/40156#discussion_r1634195757
##########
airflow/serialization/serialized_objects.py:
##########
@@ -847,10 +847,10 @@ def _serialize_params_dict(cls, params: ParamsDict |
dict):
return serialized_params
@classmethod
- def _deserialize_params_dict(cls, encoded_params: dict) -> ParamsDict:
+ def _deserialize_params_dict(cls, encoded_params: list) -> ParamsDict:
"""Deserialize a DAG's Params dict."""
op_params = {}
- for k, v in encoded_params.items():
+ for k, v in dict(encoded_params).items():
Review Comment:
```suggestion
for k, v in encoded_params:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]