pingzh commented on a change in pull request #21445: URL: https://github.com/apache/airflow/pull/21445#discussion_r806246555
########## File path: airflow/serialization/serialized_objects.py ########## @@ -707,6 +710,9 @@ def deserialize_operator(cls, encoded_op: Dict[str, Any]) -> Union[BaseOperator, v = cls._deserialize_timedelta(v) elif k in encoded_op["template_fields"]: pass + elif k == "resources" and Resources.is_operator_resources_json_string(v): Review comment: `# there are other values with the same key as `resources` so adding this check`, with more thoughts, i think we can remove it. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org