def METHOD_NAME():
    dagster_enum = Enum(
        "DagsterNativeEnum",
        [
            EnumValue(config_value="FOO", python_value=NativeEnum.FOO),
            EnumValue(config_value="BAR", python_value=NativeEnum.BAR),
        ],
    )
    called = {}
    @op(config_schema=dagster_enum)
    def dagster_enum_me(context):
        assert context.op_config == NativeEnum.BAR
        called["yup"] = True
    job_def = GraphDefinition(name="native_enum_dagster_job", node_defs=[dagster_enum_me]).to_job()
    result = job_def.execute_in_process({"ops": {"dagster_enum_me": {"config": "BAR"}}})
    assert result.success
    assert called["yup"]