Skip to content

Commit

Permalink
feat(filters): Added DateTimeFilter (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamek authored Mar 5, 2024
1 parent 9c2bc84 commit b30bc92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions graphene_sqlalchemy/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,13 @@ class Meta:
graphene_type = graphene.Date


class DateTimeFilter(OrderedFilter):
"""Concrete Filter Class which specifies a type for all the abstract filter methods defined in the super classes"""

class Meta:
graphene_type = graphene.DateTime


class IdFilter(FieldFilter):
class Meta:
graphene_type = graphene.ID
Expand Down

0 comments on commit b30bc92

Please sign in to comment.