jason810496 opened a new pull request, #44121: URL: https://github.com/apache/airflow/pull/44121
closes: #43896 related: #43657 ### Fix: Add `max_length=256` for `PoolPostBody.pool` The model defined in https://github.com/apache/airflow/blob/main/airflow/models/pool.py#L54 enforces a string length constraint on `Pool.pool`. To maintain consistency, this constraint should also be validated at the router level. ### Refactor: Handle Duplicate Cases in `Insert Pool` The `Insert Pool` (single insert) functionality should account for cases where a duplicate pool name is provided, as `Pool.pool` is defined with a `unique` constraint. ### Feat: Add Insert Multiple Pools API A new API endpoint for inserting multiple pools has been introduced as `/pools/bulk`. Alternative names such as `/pools/batch` or `/pools/multiple` were considered. Feedback on which name best describes the endpoint is welcome. -- 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]
