Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
Signed-off-by: technillogue <technillogue@gmail.com>
  • Loading branch information
technillogue committed May 8, 2024
1 parent 3e97cc8 commit 9ca6a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cog/server/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(
# bind logger instead of the module-level logger proxy for performance
self.log = log.bind()

def activity_info(self) -> dict[str, int]:
def activity_info(self) -> "dict[str, int]":
return {"max": self._concurrency, "current": len(self._predictions_in_flight)}

def setup(self) -> SetupTask:
Expand Down

0 comments on commit 9ca6a6b

Please sign in to comment.