labapi.util.types#

Enumeration classes and data types shared across the LabArchives API client.

Module Attributes

IdIndex

Type alias for indexing by item ID.

NameIndex

Type alias for indexing by item name.

IdOrNameIndex

Type alias for an index: either an item's ID (string), or a slice using Index.Id or Index.Name.

JsonData

A recursive type alias representing any data structure that can be serialized to or deserialized from JSON.

Classes

Index(value[, names, module, qualname, ...])

Represents the available indexing methods for accessing items in a collection.

InsertBehavior(value[, names, module, ...])

Enumeration of behaviors when inserting a node that already exists.

NotebookInit(id, name, is_default)

Represents the initial data required to set up a LabArchives notebook object.