From cb7be96202df5d23dfa749426f1f747f58d65451 Mon Sep 17 00:00:00 2001 From: jarvis8x7b <157810922+jarvis8x7b@users.noreply.github.com> Date: Sun, 27 Oct 2024 13:18:48 +0800 Subject: [PATCH] chore: update docstring --- neurons/validator.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/neurons/validator.py b/neurons/validator.py index 1064bc5e..3477ddd2 100644 --- a/neurons/validator.py +++ b/neurons/validator.py @@ -712,10 +712,6 @@ async def _set_weights() -> tuple[bool, str]: to a separate thread to avoid blocking the main thread, so the lock MUST be acquired by the separate thread. - - Args: - lock (threading.Lock): Lock parameter passed to separate thread - Returns: tuple[bool, str]: Returns a tuple of a boolean and a string - boolean: True if weights were set successfully, False otherwise