vatsrahul1001 commented on code in PR #44383:
URL: https://github.com/apache/airflow/pull/44383#discussion_r1858507541
##########
airflow/api_fastapi/core_api/datamodels/monitor.py:
##########
@@ -44,9 +44,14 @@ class DagProcessorInfoSchema(BaseInfoSchema):
class HealthInfoSchema(BaseModel):
- """Schema for the Health endpoint."""
+ """Schema for the Health endpoint without dag processor."""
metadatabase: BaseInfoSchema
Review Comment:
I tried making it optional field, however, I was getting pydantic validation
field error.
--
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]