Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Feb 6, 2020
1 parent 483b874 commit ffffcde
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/dbt/task/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _get_manifest(self) -> Manifest:
)
return self.manifest

def run(self):
def run(self) -> CatalogResults:
compile_results = None
if self.args.compile:
compile_results = CompileTask.run(self)
Expand Down Expand Up @@ -247,7 +247,9 @@ def get_catalog_results(
_compile_results=compile_results,
)

def interpret_results(self, results):
def interpret_results(self, results: Optional[CatalogResults]) -> bool:
if results is None:
return False
compile_results = results._compile_results
if compile_results is None:
return True
Expand Down

0 comments on commit ffffcde

Please sign in to comment.