invenio_migrator/legacy/deposit.py
def get(query, from_date, limit=0, **kwargs):
    """Get deposits."""
    dep_generator = _get_depositions()
    total_depids = 1  # Count of depositions is hard to determine

    # If limit provided, serve only first n=limit items
    if limit > 0:
        dep_generator = islice(dep_generator, limit)
        total_depids = limit
    return total_depids, dep_generator
def get(query, from_date, limit=0, **kwargs):
    dep_generator = _get_depositions()
    total_depids = 1  # Count of depositions is hard to determine

    # If limit provided, serve only first n=limit items
    if limit > 0:
        dep_generator = islice(dep_generator, limit)
        total_depids = limit
    return total_depids, dep_generator
def get ( query , from_date , limit = 0 , * * kwargs ) : dep_generator = _get_depositions ( ) total_depids = 1 # Count of depositions is hard to determine # If limit provided, serve only first n=limit items if limit > 0 : dep_generator = islice ( dep_generator , limit ) total_depids = limit return total_depids , dep_generator
Get deposits.
Get deposits .