Skip to content

Commit

Permalink
fix: correct reference to plugin for litestar (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Sep 26, 2023
1 parent 1250d94 commit b38c6f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion advanced_alchemy/extensions/litestar/alembic.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ def get_database_migration_plugin(app: Litestar) -> SQLAlchemyInitPlugin:
class AlembicCommands(_AlembicCommands):
def __init__(self, app: Litestar) -> None:
self._app = app
self.plugin_config = get_database_migration_plugin(self._app)._config # noqa: SLF001
self.sqlalchemy_config = get_database_migration_plugin(self._app)._config # noqa: SLF001
self.config = self._get_alembic_command_config()
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ license = {text = "MIT"}
name = "advanced_alchemy"
readme = "README.md"
requires-python = ">=3.8"
version = "0.2.0"
version = "0.2.1"

[project.urls]
Changelog = "https://docs.advanced-alchemy.jolt.rs/latest/changelog"
Expand Down

0 comments on commit b38c6f5

Please sign in to comment.