Skip to content

Commit b30bc92

Browse files
authored
feat(filters): Added DateTimeFilter (#404)
1 parent 9c2bc84 commit b30bc92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

graphene_sqlalchemy/filters.py

+7
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,13 @@ class Meta:
423423
graphene_type = graphene.Date
424424

425425

426+
class DateTimeFilter(OrderedFilter):
427+
"""Concrete Filter Class which specifies a type for all the abstract filter methods defined in the super classes"""
428+
429+
class Meta:
430+
graphene_type = graphene.DateTime
431+
432+
426433
class IdFilter(FieldFilter):
427434
class Meta:
428435
graphene_type = graphene.ID

0 commit comments

Comments
 (0)