mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup#

Classes

Anneal2(*args)

BeamlineActionsMockup(name)

ComboTest2(*args)

LongSimulatedAction()

QuickRealign2(*args)

SimpleFloat(*[, exp_time])

SimulatedAction()

SimulatedActionError()

StringLiteral(*[, phase])

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.Anneal2(*args)[source]#

Bases: AnnotatedCommand

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.BeamlineActionsMockup(name)[source]#

Bases: BeamlineActions

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.ComboTest2(*args)[source]#

Bases: AnnotatedCommand

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.QuickRealign2(*args)[source]#

Bases: AnnotatedCommand

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.SimpleFloat(*, exp_time: float = 0.0001)[source]#

Bases: BaseModel

Parameters:

exp_time (float) –

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

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

model_config: ClassVar[ConfigDict] = {}#

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

model_fields: ClassVar[dict[str, FieldInfo]] = {'exp_time': FieldInfo(annotation=float, required=False, default=0.0001, description='(s)', metadata=[Gt(gt=0), Lt(lt=10)])}#

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

This replaces Model.__fields__ from Pydantic V1.

class mxcubecore.HardwareObjects.mockup.BeamlineActionsMockup.StringLiteral(*, phase: Literal['Centring', 'DataCollection', 'BeamLocation', 'Transfer'] = 1)[source]#

Bases: BaseModel

Parameters:

phase (Literal['Centring', 'DataCollection', 'BeamLocation', 'Transfer']) –

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

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

model_config: ClassVar[ConfigDict] = {}#

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

model_fields: ClassVar[dict[str, FieldInfo]] = {'phase': FieldInfo(annotation=Literal['Centring', 'DataCollection', 'BeamLocation', 'Transfer'], required=False, default=1)}#

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

This replaces Model.__fields__ from Pydantic V1.