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 template loading for starlette >= 0.28 #744

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

jasongi
Copy link
Contributor

@jasongi jasongi commented Jan 1, 2024

What I am changing

Fixing #743 - Jinja2 template loading for starlette >=0.28

How I did it

using the env parameter rather than passing in the params to environment

How you can test it

Try startup titiler with starlette >=0.28

Related Issues

closes #743

@jasongi jasongi force-pushed the main branch 3 times, most recently from 93b481e to 245bed9 Compare January 1, 2024 14:34
@vincentsarago
Copy link
Member

Hi, thank for the PR 🙏

I think in a first step we should release a new version of titiler with fastapi<0.106.0 and then merge this PR

@vincentsarago vincentsarago merged commit 27f8f6e into developmentseed:main Jan 8, 2024
9 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.

Jinja2Templates assertion error in starlette version >= 0.28
2 participants