Skip to content

Commit

Permalink
pulled master and re-running lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor committed Nov 28, 2022
1 parent 7f3575a commit ce4f474
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugins/flytekit-dbt/flytekitplugins/dbt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ class DBTFreshnessOutput(BaseDBTOutput):
Raw value of DBT's ``sources.json``.
"""

raw_sources: str
raw_sources: str
7 changes: 1 addition & 6 deletions plugins/flytekit-dbt/flytekitplugins/dbt/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,4 @@ def my_workflow() -> DBTFreshnessOutput:
with open(sources_path) as file:
sources = file.read()


return DBTFreshnessOutput(
command=full_command,
exit_code=exit_code,
raw_sources=sources
)
return DBTFreshnessOutput(command=full_command, exit_code=exit_code, raw_sources=sources)
2 changes: 1 addition & 1 deletion plugins/flytekit-dbt/tests/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,4 @@ def test_task_output(self):
with open(f"{DBT_PROJECT_DIR}/target/sources.json", "r") as fp:
exp_sources = fp.read()

assert output.raw_sources == exp_sources
assert output.raw_sources == exp_sources

0 comments on commit ce4f474

Please sign in to comment.