From c1cb9606cfc41a00fc8d45718a5ff1ef3f46cd6a Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Fri, 13 Dec 2024 11:33:01 -0600 Subject: [PATCH] remove extra line for debugging --- src/neuroconv/utils/json_schema.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/neuroconv/utils/json_schema.py b/src/neuroconv/utils/json_schema.py index 902f99e7d..a7e6e0518 100644 --- a/src/neuroconv/utils/json_schema.py +++ b/src/neuroconv/utils/json_schema.py @@ -142,7 +142,6 @@ def get_json_schema_from_method_signature(method: Callable, exclude: Optional[li # If no annotation is provided (inspect._empty), use Any instead annotation = Any if parameter.annotation is inspect._empty else parameter.annotation - annotation = parameter.annotation # Pydantic uses ellipsis for required pydantic_default = ... if parameter.default is inspect._empty else parameter.default