CalculationTrajectoryLink
Association table linking trajectories to a calculation.
Usage
CalculationTrajectoryLink()Attributes
| Name | Description |
|---|---|
| calculation | The linked CalculationRow. |
| calculation_id | Foreign key to the linked CalculationRow. |
| role | Role the TrajectoryRow plays for CalculationRow (input/output). |
| trajectory | The linked TrajectoryRow. |
| trajectory_id | Foreign key to the linked TrajectoryRow. |
calculation
The linked CalculationRow.
calculation: CalculationRow = Relationship(back_populates="trajectory_links")
calculation_id
Foreign key to the linked CalculationRow.
calculation_id: uuid.UUID | None = _link_fk_field("calculation.id")
role
Role the TrajectoryRow plays for CalculationRow (input/output).
role: Role = Field(sa_column=(_role_column()))
trajectory
The linked TrajectoryRow.
trajectory: TrajectoryRow = Relationship(back_populates="calculation_links")
trajectory_id
Foreign key to the linked TrajectoryRow.
trajectory_id: uuid.UUID | None = _link_fk_field("trajectory.id")