Skip to content

Commit

Permalink
[examples] Fix typo in example method override.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Jan 27, 2022
1 parent 51e3c0a commit 01cb0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_compiler_gym_service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, *args, **kwargs):
def benchmark_uris(self) -> Iterable[str]:
yield from (f"benchmark://example-v0{k}" for k in self._benchmarks.keys())

def benchmark_from_parsed_uris(self, uri: BenchmarkUri) -> Benchmark:
def benchmark_from_parsed_uri(self, uri: BenchmarkUri) -> Benchmark:
if uri.path in self._benchmarks:
return self._benchmarks[uri]
else:
Expand Down

0 comments on commit 01cb0be

Please sign in to comment.