Jkhall81 opened a new pull request, #60008:
URL: https://github.com/apache/airflow/pull/60008

   # feat(api_fastapi): support OR operator in search parameters
   closes: #59545
   
   ## Summary
   This PR introduces support for the `OR` operator using the pipe (`|`) 
character in the FastAPI-based Airflow 3.0 API. By updating the centralized 
`_SearchParam` logic, this functionality is enabled across multiple entities 
including DAGs, Dag Runs, and Task Instances.
   
   ## Changes
   - **Backend**: Modified `_SearchParam.to_orm` in `parameters.py` to parse 
search terms separated by `|` and wrap them in a `sqlalchemy.or_` condition.
   - **Documentation**: Updated the `DESCRIPTION` in `search_param_factory` to 
inform users of the new syntax in the API documentation.
   - **Tests**: Added unit tests in `test_parameters.py` to verify SQL 
generation for both single-term and multi-term searches.


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