X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=cnotmuch%2Fdatabase.py;h=82c4f2bc2a86975ec09fc86748f2e523e56f87f1;hp=10251c42f3b6918f106d3d90bf5e886d41a84fea;hb=0e90d656fc54cd5dfbc5879ad17dbee0bb3f4de2;hpb=7b9ddcb6a63b29f7088674e1590224b484d8a11d diff --git a/cnotmuch/database.py b/cnotmuch/database.py index 10251c42..82c4f2bc 100644 --- a/cnotmuch/database.py +++ b/cnotmuch/database.py @@ -142,6 +142,15 @@ class Database(object): """Returns a pointer to the current notmuch_database_t or None""" return self._db +#------------------------------------------------------------------------------ +class Query(object): + """ Wrapper around a notmuch_query_t + + Do note that as soon as we tear down this object, all derived + threads, and messages will be freed as well. + """ + def __init__(self, db, querystr): + pass #------------------------------------------------------------------------------ class Tags(object):