mobuchowski commented on code in PR #40589:
URL: https://github.com/apache/airflow/pull/40589#discussion_r1677192787
##########
airflow/providers/openlineage/utils/utils.py:
##########
@@ -269,6 +269,25 @@ class TaskInfo(InfoJsonEncodable):
}
+class TaskInfoComplete(TaskInfo):
+ """Defines encoding BaseOperator/AbstractOperator object to JSON used when
user enables full task info."""
+
+ includes = []
+ excludes = [
+ "_BaseOperator__instantiated",
+ "_dag",
+ "_hook",
+ "_log",
+ "_outlets",
+ "_inlets",
+ "_lock_for_execution",
+ "handler",
+ "params",
+ "python_callable",
+ "retry_delay",
Review Comment:
Yeah, but do we gain something by adding those? They were added after
checking if it makes sense - the point for this PR is to enable serialization
for those that we _don't know_ if are okay. I think there's no point for that
`python_callable` there.
--
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]