Agent: Add return type annotation to create_daemon_thread()

This commit is contained in:
Mike Salvatore 2022-02-12 09:42:31 -05:00
parent 5a8c072d6a
commit 414b1cb815
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def run_worker_threads(target: Callable[..., None], args: Tuple = (), num_worker
t.join()
def create_daemon_thread(target: Callable[..., None], args: Tuple = ()):
def create_daemon_thread(target: Callable[..., None], args: Tuple = ()) -> Thread:
return Thread(target=target, args=args, daemon=True)