Fix typehint for get_datahandlerclass
This commit is contained in:
parent
eff5cc0568
commit
e529a4c261
@ -1,7 +1,9 @@
|
|||||||
|
from typing import Type
|
||||||
|
|
||||||
from .idatahandler import IDataHandler
|
from .idatahandler import IDataHandler
|
||||||
|
|
||||||
|
|
||||||
def get_datahandlerclass(datatype: str) -> IDataHandler:
|
def get_datahandlerclass(datatype: str) -> Type[IDataHandler]:
|
||||||
"""
|
"""
|
||||||
Get datahandler class.
|
Get datahandler class.
|
||||||
Could be done using Resolvers, but since this may be called often and resolvers
|
Could be done using Resolvers, but since this may be called often and resolvers
|
||||||
|
Loading…
Reference in New Issue
Block a user