wei.core.location

Provides methods and classes to work with locations

Functions

clear_location_reservation(location)

Reserve a location for a given run_id.

free_source_and_target(wf_run)

Unreserve the source and target location for a step.

initialize_workcell_locations()

Initialize all locations in the workcell.

reserve_location(location, run_id)

Reserve a location for a given run_id.

reserve_source_and_target(wf_run)

Reserve the source and target location for a step.

update_location_reserve(module, run_id)

Updates a module's reservation

update_source_and_target(wf_run)

Update the source and target location and module after a step.

wei.core.location.clear_location_reservation(location: Location) None

Reserve a location for a given run_id.

wei.core.location.free_source_and_target(wf_run: WorkflowRun) None

Unreserve the source and target location for a step.

wei.core.location.initialize_workcell_locations() None

Initialize all locations in the workcell.

wei.core.location.reserve_location(location: Location, run_id: str) None

Reserve a location for a given run_id.

wei.core.location.reserve_source_and_target(wf_run: WorkflowRun) None

Reserve the source and target location for a step.

wei.core.location.update_location_reserve(module: Module, run_id: str | None) Module

Updates a module’s reservation

wei.core.location.update_source_and_target(wf_run: WorkflowRun) None

Update the source and target location and module after a step.