File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/simcore_service_webserver/users
tests/unit/with_dbs/03/users Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ from contextlib import suppress
2+
13from aiohttp import web
24from models_library .api_schemas_webserver .users import (
35 MyProfileGet ,
Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ async def list_users_as_admin(
223223 Args:
224224 app: The web application instance
225225 filter_approved: If set, filters users by their approval status
226- limit : Maximum number of users to return
227- offset : Number of users to skip for pagination
226+ pagination_limit : Maximum number of users to return
227+ pagination_offset : Number of users to skip for pagination
228228
229229 Returns:
230230 A tuple containing (list of user dictionaries, total count of users)
Original file line number Diff line number Diff line change 1212 users_pre_registration_details ,
1313)
1414from simcore_service_webserver .db .plugin import get_asyncpg_engine
15- from simcore_service_webserver .users ._users_repository import (
16- create_user_pre_registration ,
17- )
15+ from simcore_service_webserver .users import _users_repository
1816
1917
2018async def test_create_user_pre_registration (
@@ -35,7 +33,7 @@ async def test_create_user_pre_registration(
3533 }
3634
3735 # Act
38- pre_registration_id = await create_user_pre_registration (
36+ pre_registration_id = await _users_repository . create_user_pre_registration (
3937 asyncpg_engine ,
4038 email = test_email ,
4139 created_by = created_by_user_id ,
You can’t perform that action at this time.
0 commit comments