rlmesh.describe

functionfrom rlmesh import describe[source]

Return an env/model's full metadata envelope as a dict.

describe(
    obj: object,
    *,
    kind: str | None = None,
    generated_at: str | None = None,
) -> dict[str, Any]

obj may be an EnvFactory/Model class or instance, a bare make/predict callable, or a "module:Class" entrypoint string. kind ("env"/"model") is auto-detected for a factory/model and required for a bare callable. generated_at is an optional RFC-3339 timestamp (the Rust layer validates it); omit it for a content-addressable artifact. The returned dict is parsed from the canonical string – use describe_json() when you need the exact bytes (e.g. an OCI label).