eladkal commented on code in PR #51778: URL: https://github.com/apache/airflow/pull/51778#discussion_r2149664688
########## airflow-core/src/airflow/utils/warnings.py: ########## @@ -14,27 +14,9 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. -from __future__ import annotations -import warnings -from collections.abc import Generator -from contextlib import contextmanager +from __future__ import annotations +from airflow.utils import _deprecate_this_module -@contextmanager -def capture_with_reraise() -> Generator[list[warnings.WarningMessage], None, None]: Review Comment: is this part of the public API? If not we can just remove it -- 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]
