-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
ispyb.open imports:
ispyb-api/src/ispyb/__init__.py
Line 51 in 8c952b5
| from ispyb.connector.mysqlsp.main import ISPyBMySQLSPConnector as Connector |
This imports ispyb.interface.connection:
| import ispyb.interface.connection |
and this imports ispyb.model:
| import ispyb.model.interface |
Thus, you cannot use ispyb.open without getting the warning:
ispyb-api/src/ispyb/model/__init__.py
Lines 3 to 8 in 8c952b5
| warnings.warn( | |
| "ispyb.model has been deprecated and will be removed in a future version. " | |
| "You can use the SQLAlchemy models in ispyb.sqlalchemy instead", | |
| DeprecationWarning, | |
| stacklevel=2, | |
| ) |
Are all non-sqlalchemy connection deprecated, or just ispyb.model? (AFAIK the sqlalchemy credentials don't have stored procedure access or insertion/update permissions, to get the same results - the credentials I am aware of can only see the update_session_archived procedure)
Metadata
Metadata
Assignees
Labels
No labels