ashb commented on code in PR #74806:
URL: https://github.com/apache/airflow/pull/74806#discussion_r4292125795


##########
airflow-core/pyproject.toml:
##########
@@ -135,7 +135,8 @@ dependencies = [
     'pendulum>=3.1.0',
     "pluggy>=1.5.0",
     "psutil>=5.8.0",
-    "pydantic>=2.11.0",
+    # 2.12 adds Field(exclude_if=...), which API responses use to omit absent 
optional fields
+    "pydantic>=2.12.0",

Review Comment:
   Actually I wont. OmitsRegion can't use exclude_if is it looks at/affects two 
fields (region_id and region_index), so isn't convertible.
   
   Still, I think it is reasonable to update the min version here. LMK if you 
disagree



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