File tree Expand file tree Collapse file tree
advanced_alchemy/extensions/litestar/plugins/init Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66from litestar .dto import DTOData
77from litestar .params import Dependency , Parameter
88from litestar .plugins import CLIPlugin , InitPluginProtocol
9+ from sqlalchemy .ext .asyncio import AsyncSession , async_scoped_session
10+ from sqlalchemy .orm import Session , scoped_session
911
1012from advanced_alchemy .exceptions import ImproperConfigurationError , RepositoryError
1113from advanced_alchemy .extensions .litestar .exception_handler import exception_to_http_response
5254 "ModelDTOT" : ModelDTOT ,
5355 "ModelDictListT" : ModelDictListT ,
5456 "ModelOrRowMappingT" : ModelOrRowMappingT ,
57+ "Session" : Session ,
58+ "scoped_session" : scoped_session ,
59+ "AsyncSession" : AsyncSession ,
60+ "async_scoped_session" : async_scoped_session ,
5561}
5662
5763
You can’t perform that action at this time.
0 commit comments