amoghrajesh commented on code in PR #47951:
URL: https://github.com/apache/airflow/pull/47951#discussion_r2004837052


##########
airflow/api_fastapi/execution_api/datamodels/variable.py:
##########
@@ -32,7 +32,5 @@ class VariableResponse(BaseModel):
 class VariablePostBody(StrictBaseModel):
     """Request body schema for creating variables."""
 
-    model_config = ConfigDict(extra="forbid")
-
-    value: str | None = Field(serialization_alias="val")
+    value: str | None = Field(alias="val")

Review Comment:
   This change will change it in the _generated.py, maybe we shouldn't 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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to