]> git.notmuchmail.org Git - notmuch/commit - bindings/python/docs/source/database.rst
python: add bindings to access config
authorl-m-h@web.de <l-m-h@web.de>
Thu, 7 Dec 2017 11:40:46 +0000 (12:40 +0100)
committerDavid Bremner <david@tethera.net>
Tue, 19 Dec 2017 10:36:30 +0000 (06:36 -0400)
commit6c6b0f13ffc3988b0f31774b33b8215be02abaa9
treefeb5c70e875ed7c8dd7bb3e15378dd3276e24ee3
parent572259885af4d5858c3be5c2119ec7019e1ca617
python: add bindings to access config

The C functions notmuch_database_get_config,
notmuch_database_get_config_list and notmuch_database_set_config are
part of the official C bindings.  So there should also be some python
bindings for them.

Also they are the only way to access the named queries introduced in
b9bf3f44.

The interface of the python functions is designed to be close to the C
functions.
bindings/python/docs/source/database.rst
bindings/python/notmuch/database.py
bindings/python/notmuch/globals.py