Skip to content

Commit

Permalink
Fix naming
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Wrede <erikwrede2@gmail.com>
  • Loading branch information
erikwrede committed Jun 9, 2022
1 parent a6e6b8e commit 5b86145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphene_sqlalchemy/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@ def convert_column_to_datetime(type, column, registry=None):


@convert_sqlalchemy_type.register(types.Time)
def convert_column_to_datetime(type, column, registry=None):
def convert_column_to_time(type, column, registry=None):
from graphene.types.datetime import Time
return Time


@convert_sqlalchemy_type.register(types.Date)
def convert_column_to_datetime(type, column, registry=None):
def convert_column_to_date(type, column, registry=None):
from graphene.types.datetime import Date
return Date

Expand Down

0 comments on commit 5b86145

Please sign in to comment.