prabhusneha commented on code in PR #45420:
URL: https://github.com/apache/airflow/pull/45420#discussion_r1921610750


##########
airflow/api_fastapi/common/parameters.py:
##########
@@ -473,6 +490,13 @@ def depends_float(
     return depends_float
 
 
+def is_range_filter_active(range_filter: RangeFilter) -> bool:
+    """Check if a range filter has any active bounds."""
+    if range_filter is not None and range_filter.value is not None:
+        return range_filter.value.lower_bound is not None or 
range_filter.value.upper_bound is not None
+    return False

Review Comment:
   Resolved



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