Lee-W commented on code in PR #69642:
URL: https://github.com/apache/airflow/pull/69642#discussion_r3558616929
##########
task-sdk/tests/task_sdk/definitions/test_asset_decorators.py:
##########
@@ -500,3 +500,54 @@ def
test_from_definition_excludes_outlet_events_from_inlets(self, example_asset_
definition =
asset(schedule=None)(example_asset_func_with_outlet_events)
op = _AssetMainOperator.from_definition(definition)
assert op.inlets == []
+
+ def test_determine_kwargs_injects_outlet_events_with_default(self,
mock_supervisor_comms, func_fixer):
Review Comment:
do you think it's possible to parametrize these? also what if someone pass
something like `self=None`, what would happen
--
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]