tiled.client.container.Container.create_container

Container.create_container(key=None, *, metadata=None, dims=None, specs=None)[source]

EXPERIMENTAL: Create a new, empty container.

Parameters:
keystr, optional

Key (name) for this new node. If None, the server will provide a unique key.

metadatadict, optional

User metadata. May be nested. Must contain only basic types (e.g. numbers, strings, lists, dicts) that are JSON-serializable.

dimsList[str], optional

A label for each dimension of the array.

specsList[Spec], optional

List of names that are used to label that the data and/or metadata conform to some named standard specification.