Updating from Pydantic 2.11.9 to 2.12.4 causes linting failures for blueapi on constructing a ScanSpec.
/home/runner/work/blueapi/blueapi/tests/system_tests/test_blueapi_system.py:447:29 - error: Operator "*" not supported for types "PydanticDataclass" and "PydanticDataclass" (reportOperatorIssue)
The docs, examples, code and tests of ScanSpec will probably have the same issue.
Acceptance Criteria
- ScanSpec is compatible with Pydantic 2.12