bugraoz93 commented on code in PR #55744:
URL: https://github.com/apache/airflow/pull/55744#discussion_r2356783703
##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -244,7 +244,7 @@ def create_event(
"""Create an asset event."""
try:
self.response = self.client.post(
Review Comment:
```suggestion
if asset_event_body.extra is None:
asset_event_body.extra = {}
self.response = self.client.post(
```
I think this will fix the bug :) This is some kind of integration problem we
are having with extra fields in airflowctl. In some cases, in the database,
they cannot be `null`, but it can be `null` on the datamodel, which ends up in
error if it is passed as `None`
--
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]