molcay commented on code in PR #39165:
URL: https://github.com/apache/airflow/pull/39165#discussion_r1732324691
##########
airflow/api_connexion/schemas/dag_run_schema.py:
##########
@@ -74,6 +74,7 @@ class Meta:
last_scheduling_decision = auto_field(dump_only=True)
run_type = auto_field(dump_only=True)
note = auto_field(dump_only=False)
+ triggered_by = auto_field(dump_only=True)
Review Comment:
It is not working with this way, I changed the line with this:
```python
triggered_by = fields.Enum(DagRunTriggeredByType, by_value=True,
dump_only=True)
```
I am trying to run the tests and see everything is fine or not
--
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]