diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 1402b7b8..f9403187 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -4,7 +4,7 @@ Contribution guide Setting up the environment -------------------------- -1. Install `Pizza Delivery Man `_ +1. Install `PDM `_ 2. Run ``pdm install -G:all`` to create a `virtual environment `_ and install the dependencies 3. If you're working on the documentation and need to build it locally, install the extra dependencies with ``pdm install -G:docs`` diff --git a/README.md b/README.md index 9893b64d..21f13c77 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ from advanced_alchemy.extensions.litestar.plugins.init.config import SQLAlchemyA from litestar import Litestar -plugin = SQLAlchemyPlugin(config=SQLAlchemyAsyncConfig()) +plugin = SQLAlchemyPlugin(config=SQLAlchemyAsyncConfig(connection_string="sqlite+aiosqlite:///test.sqlite")) app = Litestar(plugins=[plugin]) diff --git a/advanced_alchemy/extensions/litestar/plugins/init/__init__.py b/advanced_alchemy/extensions/litestar/plugins/init/__init__.py index c17d972f..177fd17b 100644 --- a/advanced_alchemy/extensions/litestar/plugins/init/__init__.py +++ b/advanced_alchemy/extensions/litestar/plugins/init/__init__.py @@ -8,15 +8,8 @@ from .plugin import SQLAlchemyInitPlugin __all__ = ( - "AsyncSessionConfig", "EngineConfig", - "GenericSQLAlchemyConfig", - "GenericSessionConfig", - "GenericAlembicConfig", "SQLAlchemyAsyncConfig", "SQLAlchemyInitPlugin", "SQLAlchemySyncConfig", - "SyncSessionConfig", - "AlembicAsyncConfig", - "AlembicSyncConfig", )