labapi.util.types#

Types Module.

This module defines enumeration classes and data types used throughout 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 representing a flexible index that can be 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.