RehanAhmad25 commented on code in PR #72499:
URL: https://github.com/apache/airflow/pull/72499#discussion_r4499335160


##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -187,6 +212,29 @@ class DAGRunResponse(BaseModel):
     partition_date: datetime | None
     team_name: str | None = None
 
+    @field_validator("conf")

Review Comment:
   Good call, it's a field serializer now. The model works out which conf keys 
the Dag declares as password params when it's built, and masks them when it's 
serialized. One thing to know: the raw value stays on the Python object, so 
only the serialized output is masked, which is what the API returns.



-- 
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]

Reply via email to