lamindb.integrations.curate_from_croissant

lamindb.integrations.curate_from_croissant(croissant_data, run=None)

Create annotated artifacts from a CroissantML file.

Returns a collection if multiple files are found in croissant_data, otherwise a single artifact.

Parameters:

croissant_data (str | Path | dict[str, Any]) – Path to CroissantML JSON file or dictionary.

Return type:

Artifact | Collection

Example

artifact = ln.integrations.curate_from_croissant("dataset_metadata.json")