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

fix: top-level import of optional package #3418

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

peterschutt
Copy link
Contributor

Fix import from contrib.minijinja without handling for case where dependency is not installed.

Closes #3415

Description

Closes

@peterschutt peterschutt requested review from a team as code owners April 23, 2024 05:03
@github-actions github-actions bot added area/plugins This PR involves changes to the plugins size: small type/bug pr/internal labels Apr 23, 2024
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.28%. Comparing base (c372633) to head (1102764).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3418   +/-   ##
=======================================
  Coverage   98.28%   98.28%           
=======================================
  Files         324      324           
  Lines       14780    14780           
  Branches     2346     2346           
=======================================
  Hits        14526    14526           
  Misses        116      116           
  Partials      138      138           

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

Fix import from `contrib.minijinja` without handling for case where dependency is not installed.

Closes #3415
@peterschutt peterschutt force-pushed the 3415-flash-plugin-minijinja-import branch from 3be4a54 to 1102764 Compare April 23, 2024 05:13
Copy link

sonarcloud bot commented Apr 23, 2024

Copy link

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

@JacobCoffee JacobCoffee requested a review from euri10 April 23, 2024 05:21
@euri10
Copy link
Contributor

euri10 commented Apr 23, 2024

tested and working, thanks for the fix

@peterschutt peterschutt merged commit 63d338a into main Apr 23, 2024
28 checks passed
@peterschutt peterschutt deleted the 3415-flash-plugin-minijinja-import branch April 23, 2024 06:36
peterschutt added a commit that referenced this pull request May 1, 2024
peterschutt added a commit that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins This PR involves changes to the plugins pr/internal size: small type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: minijinja import too early on FlashPlugin
3 participants