Skip to content

Commit

Permalink
Revert "fix: type check errors"
Browse files Browse the repository at this point in the history
This reverts commit caae7cb.
  • Loading branch information
jbandoro committed Jan 24, 2024
1 parent d8cc451 commit 08bace6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cosmos/operators/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
def build_and_run_cmd(self, context: Context, cmd_flags: list[str] | None = None) -> Any:
self.build_command(context, cmd_flags)
self.log.info(f"Running command: {self.command}")
result = super(DockerOperator, self).execute(context)
result = super().execute(context)
logger.info(result)

def build_command(self, context: Context, cmd_flags: list[str] | None = None) -> None:
Expand Down
2 changes: 1 addition & 1 deletion cosmos/operators/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build_env_args(self, env: dict[str, str | bytes | PathLike[Any]]) -> None:
def build_and_run_cmd(self, context: Context, cmd_flags: list[str] | None = None) -> Any:
self.build_kube_args(context, cmd_flags)
self.log.info(f"Running command: {self.arguments}")
result = super(KubernetesPodOperator, self).execute(context)
result = super().execute(context)
logger.info(result)

def build_kube_args(self, context: Context, cmd_flags: list[str] | None = None) -> None:
Expand Down

0 comments on commit 08bace6

Please sign in to comment.