Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBSessionMeta no longer convieniently exposed. #18

Open
bazylhorsey opened this issue Nov 21, 2023 · 0 comments
Open

DBSessionMeta no longer convieniently exposed. #18

bazylhorsey opened this issue Nov 21, 2023 · 0 comments

Comments

@bazylhorsey
Copy link

Before in 0.5 our team used:

    def get_db(self) -> DBSessionMeta:
        return self.db

Now in 0.6 we have to use:

    def get_db(self) -> Any:
        return self.db

This is due to recent changes to middleware.py because the method now has internalized classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant