From 78f02b7d0022178c55ccde52dccf822ea9704c8f Mon Sep 17 00:00:00 2001 From: ljnsn Date: Sat, 12 Oct 2024 17:21:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20rename=20unused=20param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/coinapi/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coinapi/utils/utils.py b/src/coinapi/utils/utils.py index b74ee9e..11d32b3 100644 --- a/src/coinapi/utils/utils.py +++ b/src/coinapi/utils/utils.py @@ -848,7 +848,7 @@ def serialize(self, field_name: str, data: Any) -> dict[str, list[str]]: class StructFormDataSerializer(FormDataSerializer): """Serializer for Struct form data.""" - def serialize(self, field_name: str, data: msgspec.Struct) -> dict[str, list[str]]: + def serialize(self, _field_name: str, data: msgspec.Struct) -> dict[str, list[str]]: """Serialize Struct form data.""" form: dict[str, list[str]] = {} for field in msgspec.structs.fields(data):