Skip to main content

BlockModelAttribute

GitHub source

BlockModelAttribute

evo.objects.typed.attributes.BlockModelAttribute

An attribute on a block model.

This class represents an existing attribute on a block model. It stores a reference to the parent BlockModel via _obj, similar to how Attribute in dataset.py works.

name​

name: str

The name of this attribute.

attribute_type​

attribute_type: str

The type of this attribute.

block_model_column_uuid​

block_model_column_uuid: UUID | None

The UUID of the column in the block model service.

unit​

unit: str | None

The unit of this attribute.

exists​

exists: bool

Whether this attribute exists on the block model.

Returns:

TypeDescription
boolTrue for existing attributes.

Was this page helpful?