def __init__(self, id, key, collection, api, **kwargs):

        self.data = {}
        self.is_loaded = False

        self.id = id
        self.key = key
        self.revision = kwargs.pop('rev', key)
        self.collection = collection
        self.api = api
        self.resource = api.document
test cmd_iter_no_block
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/api.py/Document.__init__--crossover with--dataset/ETHPy150Open saltstack/salt/tests/integration/client/standard.py/StdTest.test_iter_no_block