aritra24 commented on code in PR #50142:
URL: https://github.com/apache/airflow/pull/50142#discussion_r2077890956
##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/dags.py:
##########
@@ -164,6 +165,14 @@ def get_timezone(cls, tz: Timezone | FixedTimezone) -> str
| None:
return None
return str(tz)
+ @field_validator("doc_md", mode="before")
+ @classmethod
+ def get_doc_md(cls, doc_md: str | None) -> str | None:
Review Comment:
I'm not opposed to that, it reduces the number of calls to dedent as well. I
think the reason behind this was to not effect the serialized db entry.
--
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]