def get_processing_block_ids():
    """Return an array of Processing Block ids"""
    ids = []
    for key in sorted(DB.keys(pattern='scheduling_block/*')):
        config = json.loads(DB.get(key))
        for processing_block in config['processing_blocks']:
            ids.append(processing_block['id'])
    return ids
def get_processing_block_ids ( ) : ids = [ ] for key in sorted ( DB . keys ( pattern = 'scheduling_block/*' ) ) : config = json . loads ( DB . get ( key ) ) for processing_block in config [ 'processing_blocks' ] : ids . append ( processing_block [ 'id' ] ) return ids
Return an array of Processing Block ids