Rename hdf5handler to hdf5DataHandler
This commit is contained in:
parent
3171ad33b7
commit
861e7099cc
@ -16,7 +16,7 @@ from .idatahandler import IDataHandler, TradeList
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class HDF5Handler(IDataHandler):
|
class HDF5DataHandler(IDataHandler):
|
||||||
|
|
||||||
_columns = DEFAULT_DATAFRAME_COLUMNS
|
_columns = DEFAULT_DATAFRAME_COLUMNS
|
||||||
|
|
||||||
|
@ -238,8 +238,8 @@ def get_datahandlerclass(datatype: str) -> Type[IDataHandler]:
|
|||||||
from .jsondatahandler import JsonGzDataHandler
|
from .jsondatahandler import JsonGzDataHandler
|
||||||
return JsonGzDataHandler
|
return JsonGzDataHandler
|
||||||
elif datatype == 'hdf5':
|
elif datatype == 'hdf5':
|
||||||
from .hdf5datahandler import HDF5Handler
|
from .hdf5datahandler import HDF5DataHandler
|
||||||
return HDF5Handler
|
return HDF5DataHandler
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"No datahandler for datatype {datatype} available.")
|
raise ValueError(f"No datahandler for datatype {datatype} available.")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user