Skip to content

Use the new-style sqlalchemy DeclarativeBase #612

@chrisburr

Description

@chrisburr

Actually we should use https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#migrating-an-existing-mapping so we can type this as Declarative base.

For another PR.

Originally posted by @chrisburr in #608 (comment)

We can then drop the use of Any in the _search endpoint.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions