def get_deliveries(slogAccess, ref, start, qty):
    if (qty <= 2):
        return no_deliveries
    df = slogAccess.get_records(ref, int(start), int(qty), target=None, include=['deliver', 'deliver-result', 'syscall-result'])
    if ((len(df) > 0) and ('syscallNum' in df.columns)):
        for c in ['syscallNum', 'ksr', 'vsr', 'vd']:
            df = df.drop(columns=list((set(df.columns) & set(['syscallNum', 'ksr', 'vsr', 'vd']))))
        return block_cranks(df.to_dict('records'))
    else:
        return no_deliveries
def get_deliveries(slogAccess, ref, start, qty):
    if (qty <= 2):
        return no_deliveries
    df = slogAccess.get_records(ref, int(start), int(qty), target=None, include=['deliver', 'deliver-result', 'syscall-result'])
    if ((len(df) > 0) and ('syscallNum' in df.columns)):
        for c in ['syscallNum', 'ksr', 'vsr', 'vd']:
            df = df.drop(columns=list((set(df.columns) & set(['syscallNum', 'ksr', 'vsr', 'vd']))))
        return block_cranks(df.to_dict('records'))
    else:
        return no_deliveries