dodal.common.visit.DataCollectionIdentifier#

class dodal.common.visit.DataCollectionIdentifier[source]#

Equivalent to a Scan Number or scan_id, non-globally unique scan identifier. Should be always incrementing, unique per-visit, co-ordinated with any other scan engines.

Parameters:

data (Any)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

Methods

Attributes

model_computed_fields

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_config

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

model_fields

Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.

collectionNumber