The WFO Optical Module is a Python module that can be installed as a dependency for
WFO users that want to integrate with their optical equipment. This project is
built on top of orchestrator-core.
To use the models and services from this module, you will need to make some changes to your local implementation of the WFO. Please follow the steps below to install the WFO Optical module, including some file edits:
uv add orchestrator-extra-optical- In your local
migrations.versionsmodule, add a database migration that depends on the latest revision in this repo. An example file is given below. - In your local
migrations.env.pyimport and add the following line after instantiating the Alembicconfig:
add_optical_module_migrations(config)- Subclass some of the models given in this module that contain properties or methods that are not implemented.
Tip: These are marked with
#FIXMEcomments.
- Clone this repository
- On your local implementation of the WFO, run
uv add --editable /this/repo(orpip install -e /this/repo).