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

RSPEED-270 - Add sqlalchemy db connection #3

Merged

Conversation

andywaltlova
Copy link
Member

  • added sqlalchemy
  • added connection to postgres database based on env variables
  • changed endpoint to use tsvector search instead of naive keyword search

@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 61.11111% with 14 lines in your changes missing coverage. Please review.

Project coverage is 51.78%. Comparing base (dd4a78f) to head (e9a2bf5).

Files with missing lines Patch % Lines
app/v1/released/endpoints.py 41.66% 7 Missing ⚠️
app/crud.py 37.50% 5 Missing ⚠️
app/database.py 75.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #3       +/-   ##
===========================================
- Coverage   76.53%   51.78%   -24.75%     
===========================================
  Files           9       10        +1     
  Lines          98      112       +14     
===========================================
- Hits           75       58       -17     
- Misses         23       54       +31     
Flag Coverage Δ
unittests 51.78% <61.11%> (-24.75%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andywaltlova andywaltlova force-pushed the feat/connect-database branch 2 times, most recently from b07b71a to 5cccb49 Compare November 7, 2024 14:54
Signed-off-by: Andrea Waltlova <[email protected]>
@andywaltlova andywaltlova force-pushed the feat/connect-database branch from 5cccb49 to e9a2bf5 Compare November 7, 2024 16:07
@andywaltlova andywaltlova merged commit 5501da0 into RedHatInsights:main Nov 11, 2024
3 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