# Path: awsshell/db.py
# class ConcurrentDBM(object):
#     def open(cls, filename, create=False):
#     def create(cls, filename):
#     def __init__(self, db):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def close(self):


from awsshell import db
from __future__ import unicode_literals


def load_lazy_doc_index(filename):
    d = load_doc_db(filename)
    return DocRetriever(d)


def load_doc_db(filename):

# Path: awsshell/db.py
# class ConcurrentDBM(object):
#     def open(cls, filename, create=False):
#     def create(cls, filename):
#     def __init__(self, db):
#     def __getitem__(self, key):
#     def __setitem__(self, key, value):
#     def close(self):


# Path: awsshell/docs.py
from awsshell import db

from __future__ import unicode_literals


def load_lazy_doc_index(filename):
    d = load_doc_db(filename)
    return DocRetriever(d)


def load_doc_db(filename):

    d = db.ConcurrentDBM.open(filename, create=True)