Skip to content

Commit 25a1e44

Browse files
authored
Fixed darglint issues reported by flake8 (#446)
Signed-off-by: Manav Gupta <[email protected]>
1 parent 3b6f6f3 commit 25a1e44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mcpgateway/validators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,9 @@ def validate_json_depth(cls, obj: Any, max_depth: int = None, current_depth: int
338338
339339
Args:
340340
obj (Any): The JSON object to check
341-
max_depth (int, optional): Maximum allowed depth. Defaults to class setting.
342-
current_depth (int): Used for recursion, do not set manually.
341+
max_depth (int): Maximum allowed depth. Defaults to class setting.
342+
current_depth (int): Current depth for recursion. Used internally.
343+
343344
344345
Raises:
345346
ValueError: If the object exceeds the maximum allowed depth

0 commit comments

Comments
 (0)