def find(*args, **kwargs):
<EOL>end_at = kwargs.get('<STR_LIT>', datetime.datetime.now())<EOL>start_at = kwargs.get('<STR_LIT>', end_at - datetime.timedelta(days=<NUM_LIT:1>))<EOL>limit = kwargs.get('<STR_LIT>', <NUM_LIT:50>)<EOL>user = kwargs.get('<STR_LIT:user>', None)<EOL>if user:<EOL><INDENT>return request_log.find(start_at, end_at, limit, spec={'<STR_LIT:user>': user})<EOL><DEDENT>else:<EOL><INDENT>return request_log.find(start_at, end_at, limit)<EOL><DEDENT>
kwargs supported:
    user: the username
    start_at: start datetime object
    end_at: end datetime object
    limit: # of objects to fetch