forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move responsibility to run a command from WinRMOperator to WinRMHook (a…
…pache#43646) * refactor: Moved responsibility to run a command away from WinRmOperator to WinRMHook and also made WinRMHook closable * refactor: Reformatted exception message in WinRMOperator * refactor: command parameter of run method in WinRMHook must be specified * refactor: Changed return type of run method in WinRMHook * refactor: WinRMHook cannot be closable as it doesn't have the winrm_client instance * refactor: Reorganized imports in WinRMHook * refactor: Added unit tests for new run method in WinRMHook * refactor: Reorganized imports in TestWinRMHook --------- Co-authored-by: David Blain <[email protected]>
- Loading branch information
1 parent
cd75707
commit 464f7c4
Showing
3 changed files
with
167 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters