This reference describes unreleased code on main; no release documents it yet.

rlmesh_workload_record_new

functionExperimental#include <rlmesh.h>[source]

Required strings cannot be NULL. Records copy values without adding validation beyond C representation. Child lists: NULL/0 = empty, NULL/nonzero or a NULL element is refused. _get returns a new owned snapshot; i >= len is ERR_INVALID_ARGUMENT. Scalars/lengths return zero on NULL. Optional reads return false for None. _to_dict returns an owned DICT; _repr returns owned UTF-8 bytes.

RLMeshStatus rlmesh_workload_record_new(
    const char* model,
    const char* env,
    const char* task,
    const RLMeshWorkloadRecordOptions* options,
    RLMeshWorkloadRecord** out
)