[OBSPROC-37] remove `from sqlalchemy.orm import relation` from targetDB and opDB models Created: 16/Mar/23  Updated: 13/Apr/23  Resolved: 13/Apr/23

Status: Done
Project: PFS observation processing/procedure
Component/s: ets_target_database
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Kiyoto Yabe Assignee: monodera
Resolution: Done Votes: 0
Labels: EngRun, opDB, targetDB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: PreEng11Apr1

 Description   

`sqlalchemy.orm.relation` is deprecated and causes an error in version 2.0. Please remove it from the codes and use `sqlalchemy.orm.relationship` if possible.



 Comments   
Comment by monodera [ 07/Apr/23 ]

It's done in u/monodera/OBSPROC-37 branch and merged to the main branch in ets_target_database.

 

 

Comment by Kiyoto Yabe [ 13/Apr/23 ]

Now fix in the opDB side is done, so we close this ticket.

Generated at Sat Feb 10 16:44:37 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.