def assert_datasource_unframe_protocol(event):
    """Assert that an event is valid output of zp.DATASOURCE_UNFRAME."""
    assert DATASOURCE_TYPE in event.type
dataset/ETHPy150Open quantopian/zipline/zipline/gens/utils.py/assert_datasource_unframe_protocol/swapped operands of `in`