Skip to content

Commit eb9c663

Browse files
skolazbynekzbynek.skola
and
zbynek.skola
authored
fix: create_filters option now does what it says (#414)
Co-authored-by: zbynek.skola <[email protected]>
1 parent b30bc92 commit eb9c663

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graphene_sqlalchemy/types.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ def __init_subclass_with_meta__(
440440
batching=False,
441441
connection_field_factory=None,
442442
_meta=None,
443+
create_filters=True,
443444
**options,
444445
):
445446
# We always want to bypass this hook unless we're defining a concrete
@@ -474,7 +475,7 @@ def __init_subclass_with_meta__(
474475
only_fields=only_fields,
475476
exclude_fields=exclude_fields,
476477
batching=batching,
477-
create_filters=True,
478+
create_filters=create_filters,
478479
connection_field_factory=connection_field_factory,
479480
)
480481

0 commit comments

Comments
 (0)