advanced-alchemy icon indicating copy to clipboard operation
advanced-alchemy copied to clipboard

feat(litestar): add `get_session` to plugin

Open cofin opened this issue 7 months ago • 3 comments

Adds the configuration get_session and provide_session methods to the SQLAlchemyPlugin for Litestar.

cofin avatar Apr 27 '25 21:04 cofin

Codecov Report

:x: Patch coverage is 30.00000% with 21 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 79.20%. Comparing base (1932e1b) to head (46677b0). :warning: Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ed_alchemy/extensions/litestar/plugins/__init__.py 30.00% 21 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #461      +/-   ##
==========================================
- Coverage   79.45%   79.20%   -0.25%     
==========================================
  Files          87       87              
  Lines        6273     6301      +28     
  Branches      786      790       +4     
==========================================
+ Hits         4984     4991       +7     
- Misses       1040     1061      +21     
  Partials      249      249              

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Apr 27 '25 21:04 codecov-commenter

Quality Gate Failed Quality Gate failed

Failed conditions
23.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar May 04 '25 16:05 sonarqubecloud[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
23.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar Aug 29 '25 16:08 sonarqubecloud[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
23.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar Oct 12 '25 00:10 sonarqubecloud[bot]

Documentation preview will be available shortly at https://litestar-org.github.io/advanced-alchemy-docs-preview/461

github-actions[bot] avatar Oct 12 '25 00:10 github-actions[bot]