Skip to content

Commit

Permalink
additional fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
µ committed Aug 14, 2024
1 parent 25a7a47 commit 825145e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bittensor/axon.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ class FastAPIThreadedServer(uvicorn.Server):
"""
Provide a channel to signal exceptions from the thread to our caller.
"""
_exception: Exception = None
_exception: Optional[Exception] = None
_lock: threading.Lock = threading.Lock()
_thread: threading.Thread = None
_thread: Optional[threading.Thread] = None
_started: bool = False

def set_exception(self, exception: Exception) -> None:
Expand Down

0 comments on commit 825145e

Please sign in to comment.