docs: Replace contrib with plugins in example code#4094
Merged
cofin merged 2 commits intolitestar-org:mainfrom Apr 13, 2025
Merged
docs: Replace contrib with plugins in example code#4094cofin merged 2 commits intolitestar-org:mainfrom
cofin merged 2 commits intolitestar-org:mainfrom
Conversation
690198b to
d5dba1d
Compare
euri10
reviewed
Apr 11, 2025
Contributor
euri10
left a comment
There was a problem hiding this comment.
this lgtm but I dont use sqlalchemy so hard to see if there would be some issues.
Member
cofin
approved these changes
Apr 13, 2025
Changes in example code were made to use `litestar.plugins.sqlalchemy` instead of `litestar.contrib.sqlalchemy` as the latter is being depreciated.
Referenced lines in code examples were adjusted because: - lines count in Python code example files changed because of changes made to use `litestar.plugins.sqlalchemy` instead of `litestar.contrib.sqlalchemy` as the latter is being depreciated; - they were already off before aforementioned changes.
d5dba1d to
66d55d5
Compare
|
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/4094 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By submitting this pull request, I agree to:
Description
Changes in example code were made to use
litestar.plugins.sqlalchemyinstead oflitestar.contrib.sqlalchemyas the latter is being depreciated.Documentation files where the changed files were referenced were updated as well to adjust the referenced lines because:
Additionally imports and other relevant parts were included in code example blocks so it could be easily seen what is imported from where.
Closes
Not applicable.