Skip to content

Commit

Permalink
adjusting the return value type(None -> FullOutputSubprocessResult) f…
Browse files Browse the repository at this point in the history
…or build_and_run_cmd() method
  • Loading branch information
edgarasnavickas committed Sep 27, 2023
1 parent 20ef37b commit 200fb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmos/operators/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def get_openlineage_facets_on_complete(self, task_instance: TaskInstance) -> Ope
job_facets=job_facets,
)

def build_and_run_cmd(self, context: Context, cmd_flags: list[str] | None = None) -> None:
def build_and_run_cmd(self, context: Context, cmd_flags: list[str] | None = None) -> FullOutputSubprocessResult:
dbt_cmd, env = self.build_cmd(context=context, cmd_flags=cmd_flags)
dbt_cmd = dbt_cmd or []
result = self.run_command(cmd=dbt_cmd, env=env, context=context)
Expand Down

0 comments on commit 200fb00

Please sign in to comment.