Skip to content

Commit 13f9262

Browse files
author
Thomas Leonard
committed
feat: update name of DjangoFilterConnectionField type input to be consistent with graphene (Issue #1316)
1 parent f6ec068 commit 13f9262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene_django/filter/fields.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def convert_enum(data):
3030
class DjangoFilterConnectionField(DjangoConnectionField):
3131
def __init__(
3232
self,
33-
type,
33+
type_,
3434
fields=None,
3535
order_by=None,
3636
extra_filter_meta=None,
@@ -44,7 +44,7 @@ def __init__(
4444
self._filtering_args = None
4545
self._extra_filter_meta = extra_filter_meta
4646
self._base_args = None
47-
super(DjangoFilterConnectionField, self).__init__(type, *args, **kwargs)
47+
super(DjangoFilterConnectionField, self).__init__(type_, *args, **kwargs)
4848

4949
@property
5050
def args(self):

0 commit comments

Comments
 (0)