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

LITE-28568 task for price list uploading #114

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

zzzevaka
Copy link
Contributor

No description provided.

@zzzevaka zzzevaka force-pushed the feature/LITE-28568_apply-prices branch 3 times, most recently from 3891630 to ccc9d0e Compare September 25, 2023 11:18
@zzzevaka zzzevaka changed the title [Draft] LITE-28568 task for price list uploading LITE-28568 task for price list uploading Sep 25, 2023
@zzzevaka zzzevaka force-pushed the feature/LITE-28568_apply-prices branch from ccc9d0e to 30e0d55 Compare September 26, 2023 08:29
@zzzevaka zzzevaka force-pushed the feature/LITE-28568_apply-prices branch from 30e0d55 to d900534 Compare September 26, 2023 10:17
@@ -220,7 +220,7 @@ def get_cbc_extension_db(engine: Engine = Depends(get_cbc_extension_db_engine)):
)
db: Session = SessionMaker(bind=engine)
try:
yield db
return db
Copy link
Contributor

Choose a reason for hiding this comment

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

[COD-C] why do we need this change?

Copy link
Contributor Author

@zzzevaka zzzevaka Sep 26, 2023

Choose a reason for hiding this comment

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

Before it was used as a FastAPI Depends

cbc_db: Session = Depends(get_cbc_extension_db),

Now it is used only as a normal function and it doesn't work

cbc_db = get_cbc_extension_db(config)

@zzzevaka zzzevaka merged commit de6534c into master Sep 27, 2023
4 checks passed
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