Skip to content

Commit

Permalink
Fix typehint for get_datahandlerclass
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 28, 2019
1 parent eff5cc0 commit e529a4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion freqtrade/data/datahandlers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from typing import Type

from .idatahandler import IDataHandler


def get_datahandlerclass(datatype: str) -> IDataHandler:
def get_datahandlerclass(datatype: str) -> Type[IDataHandler]:
"""
Get datahandler class.
Could be done using Resolvers, but since this may be called often and resolvers
Expand Down

0 comments on commit e529a4c

Please sign in to comment.