Skip to content

KeyError from config file of qlib #16

@plpycoin

Description

@plpycoin

There's no default key in _default_config struction:

Traceback (most recent call last):
File "main.py", line 64, in
init(config)
File "/code/qlib-server/qlib_server/config.py", line 127, in init
redis_host=C["redis_host"],
File "/opt/conda/lib/python3.7/site-packages/qlib/init.py", line 59, in init
if C["auto_mount"]:
File "/opt/conda/lib/python3.7/site-packages/qlib/config.py", line 37, in getitem
return self.dict["_config"][key]
KeyError: 'auto_mount'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions