Skip to content

Commit

Permalink
fix: namespace signature override (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jul 2, 2024
1 parent deef082 commit 045997a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions advanced_alchemy/extensions/litestar/plugins/init/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

__all__ = ("SQLAlchemyInitPlugin",)

signature_namespace_values = {
signature_namespace_values: dict[str, Any] = {
"BeforeAfter": BeforeAfter,
"OnBeforeAfter": OnBeforeAfter,
"CollectionFilter": CollectionFilter,
Expand Down Expand Up @@ -96,7 +96,6 @@ def on_app_init(self, app_config: AppConfig) -> AppConfig:
app_config: The :class:`AppConfig <.config.app.AppConfig>` instance.
"""
self._validate_config()
signature_namespace_values: dict[str, Any] = {}
with contextlib.suppress(ImportError):
from asyncpg.pgproto import pgproto # pyright: ignore[reportMissingImports]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ maintainers = [
name = "advanced_alchemy"
readme = "README.md"
requires-python = ">=3.8"
version = "0.17.0"
version = "0.17.1"

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

0 comments on commit 045997a

Please sign in to comment.