def METHOD_NAME():
    dagster_enum = Enum.from_python_enum(NativeEnum)
    called = {}
    @op(config_schema={"enum": Field(dagster_enum, is_required=False, default_value="BAR")})
    def enum_dict(context):
        assert context.op_config["enum"] == NativeEnum.BAR
        called["yup"] = True
    @job
    def enum_dict_job():
        enum_dict()
    result = enum_dict_job.execute_in_process()
    assert result.success
    assert called["yup"]