block

Classes

Block(*args, **kwds)

Blocks are indexed components that contain other components (including blocks).

BlockData(component)

This class holds the fundamental block data.

CustomBlock(*args, **kwargs)

The base class used by instances of custom block components

IndexedBlock(*args, **kwds)

PseudoMap(block, ctype[, active, sort])

This class presents a "mock" dict interface to the internal BlockData data structures.

ScalarBlock(*args, **kwds)

ScalarCustomBlockMixin(*args, **kwargs)

SimpleBlock(*args, **kwargs)

SubclassOf(*ctype)

This mocks up a tuple-like interface based on subclass relationship.

Functions

active_components(block, ctype[, ...])

DEPRECATED.

active_components_data(block, ctype[, sort, ...])

DEPRECATED.

components(block, ctype[, sort_by_names, ...])

DEPRECATED.

components_data(block, ctype[, sort, ...])

DEPRECATED.

declare_custom_block(name[, new_ctype])

Decorator to declare components for a custom block data class

generate_cuid_names(block[, ctype, descend_into])

DEPRECATED.