vincbeck commented on code in PR #45562: URL: https://github.com/apache/airflow/pull/45562#discussion_r1925781074
########## airflow/serialization/serialized_objects.py: ########## @@ -283,7 +305,17 @@ def decode_asset_condition(var: dict[str, Any]) -> BaseAsset: """ dat = var["__type"] if dat == DAT.ASSET: - return Asset(name=var["name"], uri=var["uri"], group=var["group"], extra=var["extra"]) + serialized_watchers = var["watchers"] if "watchers" in var else [] + return Asset( + name=var["name"], + uri=var["uri"], + group=var["group"], + extra=var["extra"], Review Comment: I applied this one but reverted because `var` contains some keys we do not want to pass to `Asset`. See error [here](https://github.com/apache/airflow/actions/runs/12914159501/job/36013477933?pr=45562) -- 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