From eb9c663cc0e314987397626573e3d2f940bea138 Mon Sep 17 00:00:00 2001 From: Zet Date: Fri, 13 Sep 2024 17:28:35 +0200 Subject: [PATCH] fix: create_filters option now does what it says (#414) Co-authored-by: zbynek.skola --- graphene_sqlalchemy/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphene_sqlalchemy/types.py b/graphene_sqlalchemy/types.py index 7053988..0695751 100644 --- a/graphene_sqlalchemy/types.py +++ b/graphene_sqlalchemy/types.py @@ -440,6 +440,7 @@ def __init_subclass_with_meta__( batching=False, connection_field_factory=None, _meta=None, + create_filters=True, **options, ): # We always want to bypass this hook unless we're defining a concrete @@ -474,7 +475,7 @@ def __init_subclass_with_meta__( only_fields=only_fields, exclude_fields=exclude_fields, batching=batching, - create_filters=True, + create_filters=create_filters, connection_field_factory=connection_field_factory, )