fractal-server 2.17.0a2__py3-none-any.whl → 2.17.0a3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fractal_server/__init__.py +1 -1
- fractal_server/app/routes/auth/users.py +3 -0
- {fractal_server-2.17.0a2.dist-info → fractal_server-2.17.0a3.dist-info}/METADATA +1 -1
- {fractal_server-2.17.0a2.dist-info → fractal_server-2.17.0a3.dist-info}/RECORD +7 -7
- {fractal_server-2.17.0a2.dist-info → fractal_server-2.17.0a3.dist-info}/WHEEL +0 -0
- {fractal_server-2.17.0a2.dist-info → fractal_server-2.17.0a3.dist-info}/entry_points.txt +0 -0
- {fractal_server-2.17.0a2.dist-info → fractal_server-2.17.0a3.dist-info}/licenses/LICENSE +0 -0
fractal_server/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__VERSION__ = "2.17.
|
|
1
|
+
__VERSION__ = "2.17.0a3"
|
|
@@ -112,6 +112,7 @@ async def patch_user(
|
|
|
112
112
|
|
|
113
113
|
@router_users.get("/users/", response_model=list[UserRead])
|
|
114
114
|
async def list_users(
|
|
115
|
+
profile_id: int | None = None,
|
|
115
116
|
user: UserOAuth = Depends(current_active_superuser),
|
|
116
117
|
db: AsyncSession = Depends(get_async_db),
|
|
117
118
|
):
|
|
@@ -119,6 +120,8 @@ async def list_users(
|
|
|
119
120
|
Return list of all users
|
|
120
121
|
"""
|
|
121
122
|
stm = select(UserOAuth)
|
|
123
|
+
if profile_id is not None:
|
|
124
|
+
stm = stm.where(UserOAuth.profile_id == profile_id)
|
|
122
125
|
res = await db.execute(stm)
|
|
123
126
|
user_list = res.scalars().unique().all()
|
|
124
127
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
fractal_server/__init__.py,sha256=
|
|
1
|
+
fractal_server/__init__.py,sha256=YYkQ4fP_RQVqWwpST5d0s-RJ5FtY5G_sNYWamXlyRME,25
|
|
2
2
|
fractal_server/__main__.py,sha256=UubAVie8iODHu1jj3brTFVqzsEZrL070LjnE3XacpF0,10777
|
|
3
3
|
fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
|
|
4
4
|
fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -67,7 +67,7 @@ fractal_server/app/routes/auth/login.py,sha256=tSu6OBLOieoBtMZB4JkBAdEgH2Y8KqPGS
|
|
|
67
67
|
fractal_server/app/routes/auth/oauth.py,sha256=iI2vEdvDlEE5BrFz5Krq96VUk39HDuE0NzqW9fS3dDE,2261
|
|
68
68
|
fractal_server/app/routes/auth/register.py,sha256=DlHq79iOvGd_gt2v9uwtsqIKeO6i_GKaW59VIkllPqY,587
|
|
69
69
|
fractal_server/app/routes/auth/router.py,sha256=-E87A8h2UvcLucy5xjzKiWbXHVKcqxUmmZGeV_utEzA,598
|
|
70
|
-
fractal_server/app/routes/auth/users.py,sha256=
|
|
70
|
+
fractal_server/app/routes/auth/users.py,sha256=8QMjZ3nq-UGX4pamCTesEtWO8I9BYalLh1FlLwRp9BA,8310
|
|
71
71
|
fractal_server/app/routes/aux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
72
72
|
fractal_server/app/routes/aux/_job.py,sha256=nqqdcW5B7fL_PbvHf57_TcifjUfcMgl04tKNvG2sV1U,628
|
|
73
73
|
fractal_server/app/routes/aux/_runner.py,sha256=SDzI7glEfkW_XecWFuRQitbSWSvAPegI-J5c7i5d0_w,957
|
|
@@ -259,8 +259,8 @@ fractal_server/types/validators/_workflow_task_arguments_validators.py,sha256=HL
|
|
|
259
259
|
fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
|
|
260
260
|
fractal_server/utils.py,sha256=SYVVUuXe_nWyrJLsy7QA-KJscwc5PHEXjvsW4TK7XQI,2180
|
|
261
261
|
fractal_server/zip_tools.py,sha256=H0w7wS5yE4ebj7hw1_77YQ959dl2c-L0WX6J_ro1TY4,4884
|
|
262
|
-
fractal_server-2.17.
|
|
263
|
-
fractal_server-2.17.
|
|
264
|
-
fractal_server-2.17.
|
|
265
|
-
fractal_server-2.17.
|
|
266
|
-
fractal_server-2.17.
|
|
262
|
+
fractal_server-2.17.0a3.dist-info/METADATA,sha256=c9gB6tEdMduGbJBOJtWzmffCMDEeT0EMQoQVJay9Agg,4319
|
|
263
|
+
fractal_server-2.17.0a3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
264
|
+
fractal_server-2.17.0a3.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
|
|
265
|
+
fractal_server-2.17.0a3.dist-info/licenses/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
|
|
266
|
+
fractal_server-2.17.0a3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|