Skip to content

Commit

Permalink
Remove clumsy sqlalchemy version check
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrondel committed Jan 13, 2025
1 parent 5f98f5e commit 5a45992
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions python/lsst/consdb/handlers/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@
QueryResponseModel,
)

# Check SQLAlchemy version
required_version = (2, 0, 0)
current_version = tuple(map(int, sqlalchemy.__version__.split(".")[:3]))
assert (
current_version >= required_version
), f"SQLAlchemy version must be >= 2.0.0, but found {sqlalchemy.__version__}"

external_router = APIRouter()
"""FastAPI router for all external handlers."""

Expand Down

0 comments on commit 5a45992

Please sign in to comment.