Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@wssheldon
Copy link
Contributor

The issue in the comment has been resolved and being on 1.3 significantly limits what dependencies we can use related to SQLAlchemy.

@wssheldon wssheldon added dependencies Pull requests that update a dependency file techdebt labels Apr 30, 2025
@wssheldon wssheldon self-assigned this Apr 30, 2025
@wssheldon wssheldon changed the title deps(debt): upgrade sqlalchemy to 1.4.36 debt: upgrade sqlalchemy to 1.4.36 Apr 30, 2025
def get_session() -> Session:
"""Context manager to ensure the session is closed after use."""
session = SessionLocal()
schema_engine = engine.execution_options(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should encapsulate this logic in a function that takes an org slug as a param, so we don't need to duplicate the code in get_organization_session()

@mvilanova mvilanova closed this May 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file techdebt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants