diff options
| author | l-m-h@web.de <l-m-h@web.de> | 2017-12-07 12:40:46 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-12-19 06:36:30 -0400 |
| commit | 6c6b0f13ffc3988b0f31774b33b8215be02abaa9 (patch) | |
| tree | feb5c70e875ed7c8dd7bb3e15378dd3276e24ee3 /bindings/python/docs | |
| parent | 572259885af4d5858c3be5c2119ec7019e1ca617 (diff) | |
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.
Diffstat (limited to 'bindings/python/docs')
| -rw-r--r-- | bindings/python/docs/source/database.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindings/python/docs/source/database.rst b/bindings/python/docs/source/database.rst index 079dc754..f9567949 100644 --- a/bindings/python/docs/source/database.rst +++ b/bindings/python/docs/source/database.rst @@ -37,6 +37,12 @@ .. automethod:: create_query + .. automethod:: get_config + + .. automethod:: get_config_list + + .. automethod:: set_config + .. attribute:: Database.MODE Defines constants that are used as the mode in which to open a database. |
