File tree Expand file tree Collapse file tree 2 files changed +11
-17
lines changed
Expand file tree Collapse file tree 2 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 55Unreleased / main
66-------------------
77
8+ 11.0.2 (2025-03-13)
9+ -------------------
10+
11+ * Replace manually declared accessors in table models with SQLAlchemy 2 compatible synonyms (in ProcessingJob, AutoProcProgramAttachment)
12+ * Remove manually declared accessors in AutoProcScaling
13+
81411.0.1 (2025-03-11)
915-------------------
1016
Original file line number Diff line number Diff line change 66
77import sqlalchemy .engine
88import sqlalchemy .orm
9- from sqlalchemy .orm import relationship
9+ from sqlalchemy .orm import relationship , synonym
1010
1111from ._auto_db_schema import * # noqa F403; lgtm
1212from ._auto_db_schema import (
1313 AutoProcProgram ,
14- AutoProcScaling ,
1514 ProcessingJob ,
1615 __schema_version__ ,
1716)
1817
1918logger = logging .getLogger ("ispyb.sqlalchemy" )
2019
21- AutoProcProgram .AutoProcProgramAttachments = relationship (
22- "AutoProcProgramAttachment" ,
23- back_populates = "AutoProcProgram" ,
24- overlaps = "AutoProcProgramAttachment" ,
25- )
26- ProcessingJob .ProcessingJobParameters = relationship (
27- "ProcessingJobParameter" ,
28- back_populates = "ProcessingJob" ,
29- overlaps = "ProcessingJobParameter" ,
30- )
31- ProcessingJob .ProcessingJobImageSweeps = relationship (
32- "ProcessingJobImageSweep" ,
33- back_populates = "ProcessingJob" ,
34- overlaps = "ProcessingJobImageSweep" ,
35- )
20+ AutoProcProgram .AutoProcProgramAttachments = synonym ("AutoProcProgramAttachment" )
21+ ProcessingJob .ProcessingJobParameters = synonym ("ProcessingJobParameter" )
22+ ProcessingJob .ProcessingJobImageSweeps = synonym ("ProcessingJobImageSweep" )
23+
3624assert __schema_version__
3725
3826
You can’t perform that action at this time.
0 commit comments