This is an automated email from the ASF dual-hosted git repository. taragolis pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 543db7004e Consolidate stacklevel in ssh operator warning (#35151) 543db7004e is described below commit 543db7004ee593605e250265b0722917cef296d3 Author: Shubham Raj <48172486+shubhamraj-...@users.noreply.github.com> AuthorDate: Wed Oct 25 04:39:59 2023 +0530 Consolidate stacklevel in ssh operator warning (#35151) Co-authored-by: Shubham <shubham...@cloudera.com> --- airflow/providers/ssh/operators/ssh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/providers/ssh/operators/ssh.py b/airflow/providers/ssh/operators/ssh.py index 6bb9c8663e..076d5d9f91 100644 --- a/airflow/providers/ssh/operators/ssh.py +++ b/airflow/providers/ssh/operators/ssh.py @@ -146,6 +146,7 @@ class SSHOperator(BaseOperator): "exec_ssh_client_command method on SSHOperator is deprecated, call " "`ssh_hook.exec_ssh_client_command` instead", AirflowProviderDeprecationWarning, + stacklevel=2, ) return self.hook.exec_ssh_client_command( ssh_client, command, timeout=self.cmd_timeout, environment=self.environment, get_pty=self.get_pty