Skip to content

Dataset.get_or_create_collection

python
def Dataset.get_or_create_collection(name: str) -> Collection

Get a collection by its name. If the collection does not exist, it will be created.

Parameters

name string

The name of the collection

Returns

A collection object.

Type to search…