UUIDColumnSpec

final class lsst.daf.butler.column_spec.UUIDColumnSpec(*, name: str, doc: str = '', type: Literal['uuid'] = 'uuid', nullable: bool = True)

Bases: _BaseColumnSpec

Description of a UUID column.

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

serializer()

Return object that converts values of this column to or from serializable format.

to_arrow()

Return an object that converts values of this column to a column in an Arrow table.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

serializer() ColumnValueSerializer

Return object that converts values of this column to or from serializable format.

Returns:
serializerColumnValueSerializer

A converter instance.

to_arrow() ToArrow

Return an object that converts values of this column to a column in an Arrow table.

Returns:
converterarrow_utils.ToArrow

A converter object with schema information in Arrow form.