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

Set up initial code #5

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Set up initial code #5

merged 1 commit into from
Mar 25, 2024

Conversation

TheSuperiorStanislav
Copy link
Member

No description provided.

@TheSuperiorStanislav TheSuperiorStanislav marked this pull request as ready for review March 22, 2024 10:31
fastapi_rest_framework/interactors/core.py Outdated Show resolved Hide resolved
fastapi_rest_framework/interactors/core.py Outdated Show resolved Hide resolved
@TheSuperiorStanislav TheSuperiorStanislav force-pushed the feature/add-code branch 2 times, most recently from 18ab702 to 467d7e1 Compare March 25, 2024 05:08
Comment on lines +27 to +30
class SqlAlchemyInteractorHooksMixin(
interactors.BaseHooksMixin[saritasa_sqlalchemy_tools.BaseModelT],
):
"""Hooks for sqlalchemy."""
Copy link
Contributor

Choose a reason for hiding this comment

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

This class is really needed? Why not just use BaseHooksMixin?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just to specify that it work with models from sqlachemy-tools(for now it's maybe no difference, but it future it will make it easier to spot changes for devs).

Co-authored-by: Shirokov Sergey <[email protected]>
Co-authored-by: Leonid Malin <[email protected]>
Co-authored-by: Roman Gorbil <[email protected]>
@TheSuperiorStanislav TheSuperiorStanislav merged commit 2eef9cf into main Mar 25, 2024
2 checks passed
@TheSuperiorStanislav TheSuperiorStanislav deleted the feature/add-code branch March 25, 2024 06:04
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

Successfully merging this pull request may close these issues.

3 participants