def decode_to_string(base64bz2data):
    try:
        bz2data = base64.b64decode(base64bz2data)
        return bz2.decompress(bz2data)
    except Exception:
        return ''
Logic for running different Alembic commands.
dataset/ETHPy150Open munki/munkiwebadmin/inventory/views.py/decode_to_string--crossover with--dataset/ETHPy150Open quantmind/lux/lux/extensions/odm/commands/alembic.py/Command.run_alembic_cmd