Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698671391
  • Loading branch information
Martin Huschenbett authored and copybara-github committed Nov 25, 2024
1 parent a8b7535 commit a60da39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _Run(bm_spec: benchmark_spec.BenchmarkSpec, target_qps: float) -> bool:
if _SCENARIOS.value == SERVER:
return VALID in stdout
elif _SCENARIOS.value == OFFLINE:
return _INVALID in stdout
return _INVALID in stdout # pytype: disable=bad-return-type


def _LastRunResults(bm_spec: benchmark_spec.BenchmarkSpec) -> str:
Expand Down
2 changes: 1 addition & 1 deletion perfkitbenchmarker/providers/aws/aws_glue_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _Create(self) -> None:
vm_util.IssueCommand(cmd)

def _Exists(self) -> bool:
return self._DbExists() and self._CrawlerExists()
return self._DbExists() and self._CrawlerExists() # pytype: disable=bad-return-type

def _IsReady(self, raise_on_crawl_failure=False) -> bool:
stdout, _, _ = self._GetCrawler()
Expand Down

0 comments on commit a60da39

Please sign in to comment.