Fix typehint for get_datahandlerclass

This commit is contained in:
Matthias 2019-12-25 11:08:11 +01:00
parent eff5cc0568
commit e529a4c261

View File

@ -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