schrodinger.application.livedesign.models2.execution.context module

class schrodinger.application.livedesign.models2.execution.context.Input(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

name: str

A parameter of the class.

type: InputType

A parameter of the class.

val: str

A parameter of the class.

nameChanged

A pyqtSignal emitted by instances of the class.

nameReplaced

A pyqtSignal emitted by instances of the class.

typeChanged

A pyqtSignal emitted by instances of the class.

typeReplaced

A pyqtSignal emitted by instances of the class.

valChanged

A pyqtSignal emitted by instances of the class.

valReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.livedesign.models2.execution.context.Output(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

name: str

A parameter of the class.

type: OutputType

A parameter of the class.

nameChanged

A pyqtSignal emitted by instances of the class.

nameReplaced

A pyqtSignal emitted by instances of the class.

typeChanged

A pyqtSignal emitted by instances of the class.

typeReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.livedesign.models2.execution.context.ExecutionContext(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

inputs: dict[str, Input]

A parameter of the class.

col_inputs: dict[str, Input]

A parameter of the class.

col_outputs: dict[str, Output]

A parameter of the class.

logic: Logic

A parameter of the class.

__init__(*args, instance_id: str = None, version: int = None, **kwargs)

Initialize the execution context with the given instance ID and version.

Parameters:
  • instance_id – The ID of the model instance to use.

  • version – The version of the model instance to use. If None, the latest version will be used.

classmethod mockContext(model_def, model_inst=None, model_inst_chain=None)
initConcrete(instance_id=None, version=None)

Override to customize initialization of concrete params.

col_inputsChanged

A pyqtSignal emitted by instances of the class.

col_inputsReplaced

A pyqtSignal emitted by instances of the class.

col_outputsChanged

A pyqtSignal emitted by instances of the class.

col_outputsReplaced

A pyqtSignal emitted by instances of the class.

inputsChanged

A pyqtSignal emitted by instances of the class.

inputsReplaced

A pyqtSignal emitted by instances of the class.

logicChanged

A pyqtSignal emitted by instances of the class.

logicReplaced

A pyqtSignal emitted by instances of the class.

schrodinger.application.livedesign.models2.execution.context.get_current_context()