From 091927342942fb1aa57bf45a8815155488519731 Mon Sep 17 00:00:00 2001 From: Angel <145038102+KurosawaAngel@users.noreply.github.com> Date: Tue, 8 Oct 2024 06:48:39 +0500 Subject: [PATCH] fix kwonlyargs --- src/dataclass_rest/parse_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dataclass_rest/parse_func.py b/src/dataclass_rest/parse_func.py index acbffab..43a99ee 100644 --- a/src/dataclass_rest/parse_func.py +++ b/src/dataclass_rest/parse_func.py @@ -31,7 +31,7 @@ def create_query_params_type( ) -> Type: fields = {} self_processed = False - for x in spec.args: + for x in spec.args + spec.kwonlyargs: if not self_processed: self_processed = True continue