def get_abandoned_uploadjobs(last_active, limit=1000):
    """Return the live resumable uploadjobs.

    @param last_active_before: datetime, a filter of the when_started field.
    @param limit: the limit on the number of results
    """
    gw = SystemGateway()
    return gw.get_abandoned_uploadjobs(last_active, limit)
def get_abandoned_uploadjobs(shard_id, last_active, limit=1000):
    """Return the live resumable uploadjobs.

    @param shard_id: the shard to use for the query.
    @param last_active_before: datetime, a filter of the when_started field.
    @param limit: the limit on the number of results
    """
    gw = SystemGateway()
    return gw.get_abandoned_uploadjobs(shard_id, last_active, limit)