rawwar commented on code in PR #44306:
URL: https://github.com/apache/airflow/pull/44306#discussion_r1861107258
##########
airflow/api_fastapi/core_api/datamodels/dags.py:
##########
@@ -91,6 +92,13 @@ def file_token(self) -> str:
serializer = URLSafeSerializer(conf.get_mandatory_value("webserver",
"secret_key"))
return serializer.dumps(self.fileloc)
+ @model_validator(mode="before")
+ @classmethod
+ def remove_file_token(cls, data):
Review Comment:
@pierrejeambrun , is this the right way to do this?
--
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]