get_derived_definition#

nominal.experimental.compute_as_code.get_derived_definition(client: NominalClient, dataset: Dataset | str, *, commit: str | None = None) → DerivedDefinition#

Fetch a dataset’s derived definition (its compute spec plus the commit that produced it).

Parameters:
  • client – The NominalClient to use for the lookup.

  • dataset – The derived dataset, or its RID, to fetch the definition for.

  • commit – If provided, fetch the definition at this specific commit rather than the latest.

Returns:

The dataset’s derived definition – its compute spec and the commit that produced it.