Read config from candidate database

Hi,

How to read config from candidate base using maapi API in python

Try something like:

import confd
with confd.maapi.single_read_trans('admin', 'test_context', db=confd.CANDIDATE) as t:
    t.get_elem('/dhcp/default-lease-time')