Use config instead core.config

Call config dict directly insteading use core.config