Skip to content

Dataset.get_or_create_collection

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.

name string

The name of the collection

A collection object.