def datoms(self, index='<STR_LIT>', e='<STR_LIT>', a='<STR_LIT>', v='<STR_LIT>', <EOL>limit=<NUM_LIT:0>, offset=<NUM_LIT:0>, chunk=<NUM_LIT:100>, <EOL>start='<STR_LIT>', end='<STR_LIT>', since='<STR_LIT>', as_of='<STR_LIT>', history='<STR_LIT>', **kwargs):
assert index in ['<STR_LIT>','<STR_LIT>','<STR_LIT>','<STR_LIT>'], "<STR_LIT>"<EOL>data = {'<STR_LIT:index>':   index, <EOL>'<STR_LIT:a>':       '<STR_LIT>'.format(a) if a else '<STR_LIT>',<EOL>'<STR_LIT:v>':       dump_edn_val(v) if v else '<STR_LIT>',<EOL>'<STR_LIT:e>':       int(e) if e else '<STR_LIT>', <EOL>'<STR_LIT>':  offset or <NUM_LIT:0>,<EOL>'<STR_LIT:start>':   start,<EOL>'<STR_LIT:end>':     end,<EOL>'<STR_LIT>':   limit,<EOL>'<STR_LIT>': '<STR_LIT:true>' if history else '<STR_LIT>',<EOL>'<STR_LIT>':   int(as_of) if as_of else '<STR_LIT>',<EOL>'<STR_LIT>':   int(since) if since else '<STR_LIT>',<EOL>}<EOL>data['<STR_LIT>'] = offset + chunk<EOL>rs = True<EOL>while rs and (data['<STR_LIT>'] < (limit or <NUM_LIT>)):<EOL><INDENT>ta = datetime.datetime.now()<EOL>rs = self.rest('<STR_LIT:GET>', self.uri_db + '<STR_LIT>', data=data, parse=True)<EOL>if not len(rs):<EOL><INDENT>rs = False<EOL><DEDENT>tb = datetime.datetime.now() - ta<EOL>print(cl('<STR_LIT>' % (<EOL>len(rs), data['<STR_LIT>'], tb.microseconds/<NUM_LIT>), '<STR_LIT>'))<EOL>for r in rs: yield r<EOL>data['<STR_LIT>'] += chunk<EOL><DEDENT>
Returns a lazy generator that will only fetch groups of datoms
            at the chunk size specified.

        http://docs.datomic.com/clojure/index.html#datomic.api/datoms