o-nikolas commented on code in PR #64817:
URL: https://github.com/apache/airflow/pull/64817#discussion_r3053071906
##########
providers/amazon/tests/system/amazon/aws/utils/k8s.py:
##########
@@ -16,24 +16,50 @@
# under the License.
from __future__ import annotations
+from airflow.utils.helpers import exactly_one
+
try:
from airflow.providers.standard.operators.bash import BashOperator
except ImportError:
# Fallback for older Airflow versions
from airflow.operators.bash import BashOperator # type: ignore[no-redef]
-def get_describe_pod_operator(cluster_name: str, pod_name: str) ->
BashOperator:
- """Returns an operator that'll print the output of a `k describe pod` in
the airflow logs."""
+def get_describe_pod_operator(
Review Comment:
Beauty 👌
--
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]