uranusjr commented on a change in pull request #20945:
URL: https://github.com/apache/airflow/pull/20945#discussion_r789447810
##########
File path: airflow/models/baseoperator.py
##########
@@ -1718,8 +1615,11 @@ def __repr__(self) -> str:
deps: Iterable[BaseTIDep] = attr.ib()
operator_extra_links: Iterable['BaseOperatorLink'] = ()
- params: Union[ParamsDict, dict] = attr.ib(factory=ParamsDict)
- template_fields: Iterable[str] = attr.ib()
+ template_fields: Collection[str] = attr.ib()
+ template_ext: Collection[str] = attr.ib()
+
+ weight_rule: str = attr.ib()
+ priority_weight: int = attr.ib()
Review comment:
Actually I don’t think these should be serialised separately. Their
states are already preserved in `partial_kwargs` and can be reconstructed
appropriately on deserialisation in the current implementation.
--
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]