DiamondLightSource / DiamondLightSource/mx-bluesky
Replace `data_model.py` with auto-generated dataclasses from json schema
Open
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 2
Description
See https://github.com/DiamondLightSource/mx-bluesky/pull/1311#discussion_r2478675569
Now that we are no longer dependent on `ispyb-api`, the dataclasses in `data_model.py` can be instead auto-generated from the expeye OpenAPI schema, and we can transform these objects directly to json.
## Acceptance Criteria
* The ispyb data model classes are autogenerated from the openapi schema
* Tests are updated
Contributor guide
Assessment
This issue has not been assessed yet.