File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from fastapi_sqla import sqla
66from fastapi_sqla .sqla import (
77 Base ,
8+ Collection ,
9+ Item ,
810 Page ,
911 Paginate ,
1012 PaginateSignature ,
1517
1618__all__ = [
1719 "Base" ,
20+ "Collection" ,
21+ "Item" ,
1822 "Page" ,
1923 "Paginate" ,
2024 "PaginateSignature" ,
Original file line number Diff line number Diff line change 11from pytest import mark
22
33
4- def test_import_fastapi_sqla ():
5- import fastapi_sqla # noqa
4+ def test_import_sync_api ():
5+ from fastapi_sqla import ( # noqa
6+ Base ,
7+ Collection ,
8+ Item ,
9+ Page ,
10+ Paginate ,
11+ Session ,
12+ open_session ,
13+ setup ,
14+ )
615
716
817@mark .require_asyncpg
918@mark .sqlalchemy ("1.4" )
10- def test_import_async_session ():
11- from fastapi_sqla import AsyncSession # noqa
19+ def test_import_async_api ():
20+ from fastapi_sqla import ( # noqa
21+ AsyncPaginate ,
22+ AsyncPagination ,
23+ AsyncSession ,
24+ open_async_session ,
25+ )
You can’t perform that action at this time.
0 commit comments