fractal-server 2.17.0a0__py3-none-any.whl → 2.17.0a2__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.
@@ -1 +1 @@
1
- __VERSION__ = "2.17.0a0"
1
+ __VERSION__ = "2.17.0a2"
@@ -136,8 +136,8 @@ def init_db_data(
136
136
  from sqlalchemy import select, func
137
137
  from fractal_server.app.models.security import UserOAuth
138
138
  from fractal_server.app.models import Resource, Profile
139
- from fractal_server.app.schemas.v2.resource import validate_resource_data
140
- from fractal_server.app.schemas.v2.profile import validate_profile_data
139
+ from fractal_server.app.schemas.v2.resource import cast_serialize_resource
140
+ from fractal_server.app.schemas.v2.profile import cast_serialize_profile
141
141
 
142
142
  init_data_settings = Inject(get_init_data_settings)
143
143
 
@@ -203,15 +203,17 @@ def init_db_data(
203
203
 
204
204
  # Validate resource/profile data
205
205
  try:
206
- validate_resource_data(resource_data)
206
+ resource_data = cast_serialize_resource(resource_data)
207
207
  except ValidationError as e:
208
- print(e)
209
- sys.exit("ERROR: Invalid resource data.")
208
+ sys.exit(
209
+ f"ERROR: Invalid resource data.\nOriginal error:\n{str(e)}"
210
+ )
210
211
  try:
211
- validate_profile_data(profile_data)
212
+ profile_data = cast_serialize_profile(profile_data)
212
213
  except ValidationError as e:
213
- print(e)
214
- sys.exit("ERROR: Invalid profile data.")
214
+ sys.exit(
215
+ f"ERROR: Invalid profile data.\nOriginal error:\n{str(e)}"
216
+ )
215
217
 
216
218
  # Create resource/profile db objects
217
219
  resource_obj = Resource(**resource_data)
@@ -9,6 +9,7 @@ from fractal_server.app.models import UserOAuth
9
9
  from fractal_server.app.routes.auth import current_active_superuser
10
10
  from fractal_server.config import get_db_settings
11
11
  from fractal_server.config import get_email_settings
12
+ from fractal_server.config import get_oauth_settings
12
13
  from fractal_server.config import get_settings
13
14
  from fractal_server.syringe import Inject
14
15
 
@@ -45,3 +46,11 @@ async def view_email_settings(
45
46
  ):
46
47
  settings = Inject(get_email_settings)
47
48
  return settings.model_dump()
49
+
50
+
51
+ @router_api.get("/settings/oauth/")
52
+ async def view_oauth_settings(
53
+ user: UserOAuth = Depends(current_active_superuser),
54
+ ):
55
+ settings = Inject(get_oauth_settings)
56
+ return settings.model_dump()
@@ -1,50 +1,56 @@
1
1
  from fastapi import APIRouter
2
+ from httpx_oauth.clients.github import GitHubOAuth2
3
+ from httpx_oauth.clients.google import GoogleOAuth2
4
+ from httpx_oauth.clients.openid import OpenID
2
5
 
3
6
  from . import cookie_backend
4
7
  from . import fastapi_users
5
- from ....config import get_settings
6
- from ....syringe import Inject
8
+ from fractal_server.config import get_oauth_settings
9
+ from fractal_server.config import get_settings
10
+ from fractal_server.config import OAuthSettings
11
+ from fractal_server.syringe import Inject
7
12
 
8
- router_oauth = APIRouter()
9
13
 
14
+ def _create_client_github(cfg: OAuthSettings) -> GitHubOAuth2:
15
+ return GitHubOAuth2(
16
+ client_id=cfg.OAUTH_CLIENT_ID.get_secret_value(),
17
+ client_secret=cfg.OAUTH_CLIENT_SECRET.get_secret_value(),
18
+ )
10
19
 
11
- # OAUTH CLIENTS
12
20
 
13
- # NOTE: settings.OAUTH_CLIENTS are collected by
14
- # Settings.collect_oauth_clients(). If no specific client is specified in the
15
- # environment variables (e.g. by setting OAUTH_FOO_CLIENT_ID and
16
- # OAUTH_FOO_CLIENT_SECRET), this list is empty
21
+ def _create_client_google(cfg: OAuthSettings) -> GoogleOAuth2:
22
+ return GoogleOAuth2(
23
+ client_id=cfg.OAUTH_CLIENT_ID.get_secret_value(),
24
+ client_secret=cfg.OAUTH_CLIENT_SECRET.get_secret_value(),
25
+ )
17
26
 
18
- # Note: dependency injection should be wrapped within a function call to make
19
- # it truly lazy. This function could then be called on startup of the FastAPI
20
- # app (cf. fractal_server.main)
21
- settings = Inject(get_settings)
22
27
 
23
- for client_config in settings.OAUTH_CLIENTS_CONFIG:
24
- client_name = client_config.CLIENT_NAME.lower()
28
+ def _create_client_oidc(cfg: OAuthSettings) -> OpenID:
29
+ return OpenID(
30
+ client_id=cfg.OAUTH_CLIENT_ID.get_secret_value(),
31
+ client_secret=cfg.OAUTH_CLIENT_SECRET.get_secret_value(),
32
+ openid_configuration_endpoint=cfg.OAUTH_OIDC_CONFIG_ENDPOINT,
33
+ )
25
34
 
26
- if client_name == "google":
27
- from httpx_oauth.clients.google import GoogleOAuth2
28
35
 
29
- client = GoogleOAuth2(
30
- client_config.CLIENT_ID,
31
- client_config.CLIENT_SECRET.get_secret_value(),
32
- )
33
- elif client_name == "github":
34
- from httpx_oauth.clients.github import GitHubOAuth2
36
+ def get_oauth_router() -> APIRouter | None:
37
+ """
38
+ Get the `APIRouter` object for OAuth endpoints.
39
+ """
40
+ router_oauth = APIRouter()
41
+ settings = Inject(get_settings)
42
+ oauth_settings = Inject(get_oauth_settings)
43
+ if not oauth_settings.is_set:
44
+ return None
35
45
 
36
- client = GitHubOAuth2(
37
- client_config.CLIENT_ID,
38
- client_config.CLIENT_SECRET.get_secret_value(),
39
- )
40
- else:
41
- from httpx_oauth.clients.openid import OpenID
46
+ client_name = oauth_settings.OAUTH_CLIENT_NAME
42
47
 
43
- client = OpenID(
44
- client_config.CLIENT_ID,
45
- client_config.CLIENT_SECRET.get_secret_value(),
46
- client_config.OIDC_CONFIGURATION_ENDPOINT,
47
- )
48
+ if client_name == "google":
49
+ client = _create_client_google(oauth_settings)
50
+ elif client_name == "github":
51
+ client = _create_client_github(oauth_settings)
52
+ else:
53
+ client = _create_client_oidc(oauth_settings)
48
54
 
49
55
  router_oauth.include_router(
50
56
  fastapi_users.get_oauth_router(
@@ -53,13 +59,14 @@ for client_config in settings.OAUTH_CLIENTS_CONFIG:
53
59
  settings.JWT_SECRET_KEY,
54
60
  is_verified_by_default=False,
55
61
  associate_by_email=True,
56
- redirect_url=client_config.REDIRECT_URL,
62
+ redirect_url=oauth_settings.OAUTH_REDIRECT_URL,
57
63
  ),
58
64
  prefix=f"/{client_name}",
59
65
  )
60
66
 
67
+ # Add trailing slash to all routes' paths
68
+ for route in router_oauth.routes:
69
+ if not route.path.endswith("/"):
70
+ route.path = f"{route.path}/"
61
71
 
62
- # Add trailing slash to all routes' paths
63
- for route in router_oauth.routes:
64
- if not route.path.endswith("/"):
65
- route.path = f"{route.path}/"
72
+ return router_oauth
@@ -3,7 +3,7 @@ from fastapi import APIRouter
3
3
  from .current_user import router_current_user
4
4
  from .group import router_group
5
5
  from .login import router_login
6
- from .oauth import router_oauth
6
+ from .oauth import get_oauth_router
7
7
  from .register import router_register
8
8
  from .users import router_users
9
9
 
@@ -14,4 +14,6 @@ router_auth.include_router(router_current_user)
14
14
  router_auth.include_router(router_login)
15
15
  router_auth.include_router(router_users)
16
16
  router_auth.include_router(router_group)
17
- router_auth.include_router(router_oauth)
17
+ router_oauth = get_oauth_router()
18
+ if router_oauth is not None:
19
+ router_auth.include_router(router_oauth)
@@ -6,8 +6,8 @@ from fractal_server.app.db import AsyncSession
6
6
  from fractal_server.app.models import Profile
7
7
  from fractal_server.app.models import Resource
8
8
  from fractal_server.app.models import UserOAuth
9
- from fractal_server.app.schemas.v2.profile import validate_profile_data
10
- from fractal_server.app.schemas.v2.resource import validate_resource_data
9
+ from fractal_server.app.schemas.v2.profile import cast_serialize_profile
10
+ from fractal_server.app.schemas.v2.resource import cast_serialize_resource
11
11
  from fractal_server.logger import set_logger
12
12
 
13
13
  logger = set_logger(__name__)
@@ -38,10 +38,10 @@ async def validate_user_profile(
38
38
  profile = await db.get(Profile, user.profile_id)
39
39
  resource = await db.get(Resource, profile.resource_id)
40
40
  try:
41
- validate_resource_data(
41
+ cast_serialize_resource(
42
42
  resource.model_dump(exclude={"id", "timestamp_created"}),
43
43
  )
44
- validate_profile_data(
44
+ cast_serialize_profile(
45
45
  profile.model_dump(exclude={"resource_id", "id"}),
46
46
  )
47
47
  db.expunge(resource)
@@ -65,8 +65,14 @@ class ProfileRead(BaseModel):
65
65
 
66
66
 
67
67
  @validate_call
68
- def validate_profile_data(_data: ProfileCreate):
68
+ def cast_serialize_profile(_data: ProfileCreate) -> dict[str, Any]:
69
69
  """
70
- We use `@validate_call` because `ProfileCreate` is a `Union` type and it
70
+ Cast/serialize round-trip for `Profile` data.
71
+
72
+ We use `@validate_call` because `ProfileeCreate` is a `Union` type and it
71
73
  cannot be instantiated directly.
74
+
75
+ Return:
76
+ Serialized version of a valid profile object.
72
77
  """
78
+ return _data.model_dump()
@@ -4,6 +4,7 @@ from typing import Any
4
4
  from typing import Literal
5
5
  from typing import Self
6
6
 
7
+ from pydantic import AfterValidator
7
8
  from pydantic import BaseModel
8
9
  from pydantic import Discriminator
9
10
  from pydantic import model_validator
@@ -25,13 +26,27 @@ class ResourceType(StrEnum):
25
26
  LOCAL = "local"
26
27
 
27
28
 
29
+ def cast_serialize_pixi_settings(
30
+ v: dict[NonEmptyStr, Any],
31
+ ) -> dict[NonEmptyStr, Any]:
32
+ """
33
+ Validate current value, and enrich it with default values.
34
+ """
35
+ if v != {}:
36
+ v = TasksPixiSettings(**v).model_dump()
37
+ return v
38
+
39
+
28
40
  class _ValidResourceBase(BaseModel):
29
41
  type: ResourceType
30
42
  name: NonEmptyStr
31
43
 
32
44
  # Tasks
33
45
  tasks_python_config: TasksPythonSettings
34
- tasks_pixi_config: dict[NonEmptyStr, Any]
46
+ tasks_pixi_config: Annotated[
47
+ dict[NonEmptyStr, Any],
48
+ AfterValidator(cast_serialize_pixi_settings),
49
+ ]
35
50
  tasks_local_dir: AbsolutePathStr
36
51
 
37
52
  # Jobs
@@ -40,16 +55,15 @@ class _ValidResourceBase(BaseModel):
40
55
  jobs_poll_interval: int = 5
41
56
 
42
57
  @model_validator(mode="after")
43
- def _tasks_configurations(self) -> Self:
44
- if self.tasks_pixi_config != {}:
45
- pixi_settings = TasksPixiSettings(**self.tasks_pixi_config)
46
- if (
47
- self.type == ResourceType.SLURM_SSH
48
- and pixi_settings.SLURM_CONFIG is None
49
- ):
50
- raise ValueError(
51
- "`tasks_pixi_config` must include `SLURM_CONFIG`."
52
- )
58
+ def _pixi_slurm_config(self) -> Self:
59
+ if (
60
+ self.tasks_pixi_config != {}
61
+ and self.type == ResourceType.SLURM_SSH
62
+ and self.tasks_pixi_config["SLURM_CONFIG"] is None
63
+ ):
64
+ raise ValueError(
65
+ "`tasks_pixi_config` must include `SLURM_CONFIG`."
66
+ )
53
67
  return self
54
68
 
55
69
 
@@ -110,8 +124,14 @@ class ResourceRead(BaseModel):
110
124
 
111
125
 
112
126
  @validate_call
113
- def validate_resource_data(_data: ResourceCreate):
127
+ def cast_serialize_resource(_data: ResourceCreate) -> dict[str, Any]:
114
128
  """
129
+ Cast/serialize round-trip for `Resource` data.
130
+
115
131
  We use `@validate_call` because `ResourceCreate` is a `Union` type and it
116
132
  cannot be instantiated directly.
133
+
134
+ Return:
135
+ Serialized version of a valid resource object.
117
136
  """
137
+ return _data.model_dump()
@@ -3,6 +3,7 @@ from ._email import EmailSettings
3
3
  from ._email import PublicEmailSettings # noqa F401
4
4
  from ._init_data import InitDataSettings
5
5
  from ._main import Settings
6
+ from ._oauth import OAuthSettings
6
7
 
7
8
 
8
9
  def get_db_settings(db_settings=DatabaseSettings()) -> DatabaseSettings:
@@ -21,3 +22,7 @@ def get_init_data_settings(
21
22
  init_data_settings=InitDataSettings(),
22
23
  ) -> InitDataSettings:
23
24
  return init_data_settings
25
+
26
+
27
+ def get_oauth_settings(oauth_settings=OAuthSettings()) -> OAuthSettings:
28
+ return oauth_settings
@@ -1,12 +1,7 @@
1
1
  import logging
2
- from os import environ
3
- from os import getenv
4
2
  from typing import Literal
5
3
  from typing import TypeVar
6
4
 
7
- from pydantic import BaseModel
8
- from pydantic import Field
9
- from pydantic import model_validator
10
5
  from pydantic import SecretStr
11
6
  from pydantic_settings import BaseSettings
12
7
  from pydantic_settings import SettingsConfigDict
@@ -22,48 +17,6 @@ class FractalConfigurationError(ValueError):
22
17
  T = TypeVar("T")
23
18
 
24
19
 
25
- class OAuthClientConfig(BaseModel):
26
- """
27
- OAuth Client Config Model
28
-
29
- This model wraps the variables that define a client against an Identity
30
- Provider. As some providers are supported by the libraries used within the
31
- server, some attributes are optional.
32
-
33
- Attributes:
34
- CLIENT_NAME:
35
- The name of the client
36
- CLIENT_ID:
37
- ID of client
38
- CLIENT_SECRET:
39
- Secret to authorise against the identity provider
40
- OIDC_CONFIGURATION_ENDPOINT:
41
- OpenID configuration endpoint,
42
- allowing to discover the required endpoints automatically
43
- REDIRECT_URL:
44
- String to be used as `redirect_url` argument for
45
- `fastapi_users.get_oauth_router`, and then in
46
- `httpx_oauth.integrations.fastapi.OAuth2AuthorizeCallback`.
47
- """
48
-
49
- CLIENT_NAME: str
50
- CLIENT_ID: str
51
- CLIENT_SECRET: SecretStr
52
- OIDC_CONFIGURATION_ENDPOINT: str | None = None
53
- REDIRECT_URL: str | None = None
54
-
55
- @model_validator(mode="before")
56
- @classmethod
57
- def check_configuration(cls, values):
58
- if values.get("CLIENT_NAME") not in ["GOOGLE", "GITHUB"]:
59
- if not values.get("OIDC_CONFIGURATION_ENDPOINT"):
60
- raise FractalConfigurationError(
61
- f"Missing OAUTH_{values.get('CLIENT_NAME')}"
62
- "_OIDC_CONFIGURATION_ENDPOINT"
63
- )
64
- return values
65
-
66
-
67
20
  class Settings(BaseSettings):
68
21
  """
69
22
  Contains all the configuration variables for Fractal Server
@@ -73,8 +26,6 @@ class Settings(BaseSettings):
73
26
 
74
27
  model_config = SettingsConfigDict(**SETTINGS_CONFIG_DICT)
75
28
 
76
- OAUTH_CLIENTS_CONFIG: list[OAuthClientConfig] = Field(default_factory=list)
77
-
78
29
  # JWT TOKEN
79
30
  JWT_EXPIRE_SECONDS: int = 180
80
31
  """
@@ -95,52 +46,6 @@ class Settings(BaseSettings):
95
46
  Cookie token lifetime, in seconds.
96
47
  """
97
48
 
98
- @model_validator(mode="before")
99
- @classmethod
100
- def collect_oauth_clients(cls, values):
101
- """
102
- Automatic collection of OAuth Clients
103
-
104
- This method collects the environment variables relative to a single
105
- OAuth client and saves them within the `Settings` object in the form
106
- of an `OAuthClientConfig` instance.
107
-
108
- Fractal can support an arbitrary number of OAuth providers, which are
109
- automatically detected by parsing the environment variable names. In
110
- particular, to set the provider `FOO`, one must specify the variables
111
-
112
- OAUTH_FOO_CLIENT_ID
113
- OAUTH_FOO_CLIENT_SECRET
114
- ...
115
-
116
- etc (cf. OAuthClientConfig).
117
- """
118
- oauth_env_variable_keys = [
119
- key for key in environ.keys() if key.startswith("OAUTH_")
120
- ]
121
- clients_available = {
122
- var.split("_")[1] for var in oauth_env_variable_keys
123
- }
124
-
125
- values["OAUTH_CLIENTS_CONFIG"] = []
126
- for client in clients_available:
127
- prefix = f"OAUTH_{client}"
128
- oauth_client_config = OAuthClientConfig(
129
- CLIENT_NAME=client,
130
- CLIENT_ID=getenv(f"{prefix}_CLIENT_ID", None),
131
- CLIENT_SECRET=getenv(f"{prefix}_CLIENT_SECRET", None),
132
- OIDC_CONFIGURATION_ENDPOINT=getenv(
133
- f"{prefix}_OIDC_CONFIGURATION_ENDPOINT", None
134
- ),
135
- REDIRECT_URL=getenv(f"{prefix}_REDIRECT_URL", None),
136
- )
137
- values["OAUTH_CLIENTS_CONFIG"].append(oauth_client_config)
138
- return values
139
-
140
- ###########################################################################
141
- # FRACTAL SPECIFIC
142
- ###########################################################################
143
-
144
49
  # Note: we do not use ResourceType here to avoid circular imports
145
50
  FRACTAL_RUNNER_BACKEND: Literal[
146
51
  "local", "slurm_ssh", "slurm_sudo"
@@ -0,0 +1,69 @@
1
+ from typing import Annotated
2
+ from typing import Self
3
+
4
+ from pydantic import model_validator
5
+ from pydantic import SecretStr
6
+ from pydantic import StringConstraints
7
+ from pydantic_settings import BaseSettings
8
+ from pydantic_settings import SettingsConfigDict
9
+
10
+ from ._settings_config import SETTINGS_CONFIG_DICT
11
+ from fractal_server.types import NonEmptyStr
12
+
13
+
14
+ class OAuthSettings(BaseSettings):
15
+ """
16
+ Minimal set of configurations needed for operating on the database (e.g
17
+ for schema migrations).
18
+ """
19
+
20
+ model_config = SettingsConfigDict(**SETTINGS_CONFIG_DICT)
21
+
22
+ OAUTH_CLIENT_NAME: (
23
+ Annotated[
24
+ NonEmptyStr,
25
+ StringConstraints(to_lower=True),
26
+ ]
27
+ | None
28
+ ) = None
29
+ """
30
+ The name of the client.
31
+ """
32
+ OAUTH_CLIENT_ID: SecretStr | None = None
33
+ """
34
+ ID of client.
35
+ """
36
+ OAUTH_CLIENT_SECRET: SecretStr | None = None
37
+ """
38
+ Secret to authorise against the identity provider.
39
+ """
40
+ OAUTH_OIDC_CONFIG_ENDPOINT: str | None = None
41
+ """
42
+ OpenID configuration endpoint, for autodiscovery of relevant endpoints.
43
+ """
44
+ OAUTH_REDIRECT_URL: str | None = None
45
+ """
46
+ String to be used as `redirect_url` argument in
47
+ `fastapi_users.get_oauth_router`, and then in
48
+ `httpx_oauth.integrations.fastapi.OAuth2AuthorizeCallback`
49
+ """
50
+
51
+ @model_validator(mode="after")
52
+ def check_configuration(self: Self) -> Self:
53
+ if (
54
+ self.OAUTH_CLIENT_NAME not in ["google", "github", None]
55
+ and self.OAUTH_OIDC_CONFIG_ENDPOINT is None
56
+ ):
57
+ raise ValueError(
58
+ f"{self.OAUTH_OIDC_CONFIG_ENDPOINT=} but "
59
+ f"{self.OAUTH_CLIENT_NAME=}"
60
+ )
61
+ return self
62
+
63
+ @property
64
+ def is_set(self) -> bool:
65
+ return None not in (
66
+ self.OAUTH_CLIENT_NAME,
67
+ self.OAUTH_CLIENT_ID,
68
+ self.OAUTH_CLIENT_SECRET,
69
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fractal-server
3
- Version: 2.17.0a0
3
+ Version: 2.17.0a2
4
4
  Summary: Backend component of the Fractal analytics platform
5
5
  License-Expression: BSD-3-Clause
6
6
  License-File: LICENSE
@@ -1,5 +1,5 @@
1
- fractal_server/__init__.py,sha256=BGNq25uSJ4SBW9OccisNa2dOpWFs57JqU2JTIjfsO7U,25
2
- fractal_server/__main__.py,sha256=wXTddT2OrcCOcGuIPLXEX6PFYqSbWFLpRUxy8PUDaGo,10668
1
+ fractal_server/__init__.py,sha256=kG6ZmOBm3VGbdOMy3xMdyb1FsLP0_JDO6tzPBeFLCi8,25
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
5
5
  fractal_server/app/db/__init__.py,sha256=sttX0mHVV0ESI1SJ1kcxUKiuEwqeP-BWsst0o_9Yo44,2810
@@ -33,7 +33,7 @@ fractal_server/app/routes/admin/v2/resource.py,sha256=ogUBRPIDUYEuwo7yYzVXz6w11n
33
33
  fractal_server/app/routes/admin/v2/task.py,sha256=e1UxsA6CWeYqvnHqxySE78ckRuE0EK60X02VMnkG2gg,4309
34
34
  fractal_server/app/routes/admin/v2/task_group.py,sha256=7-Axk5SG6Nw02p7pc6Q6_EtO9Ncy74pVXvt2GCG-Iuc,6043
35
35
  fractal_server/app/routes/admin/v2/task_group_lifecycle.py,sha256=h3OYIwhzG8eCaXFGTZlAIQlpgvlaknrskbVVaTBwCp8,10006
36
- fractal_server/app/routes/api/__init__.py,sha256=hvUMBSencPaDwoCDvD1wfwTCVgneASyCNgmJVr_729k,1166
36
+ fractal_server/app/routes/api/__init__.py,sha256=wyEcQ8hXPvqU8M-YPVaRHMFheuDdfRvdX2sDQtMgxpg,1423
37
37
  fractal_server/app/routes/api/v2/__init__.py,sha256=D3sRRsqkmZO6kBxUjg40q0aRDsnuXI4sOOfn0xF9JsM,2820
38
38
  fractal_server/app/routes/api/v2/_aux_functions.py,sha256=8xnXYPjzo1yZfcg18b5ZY5tu9OQ1e55fOnX1IEmDSHk,15019
39
39
  fractal_server/app/routes/api/v2/_aux_functions_history.py,sha256=PXsqMQ3sfkABqAMI7v1_VAzUEDF_-kvaZyyhEicqsCw,4431
@@ -64,14 +64,14 @@ fractal_server/app/routes/auth/_aux_auth.py,sha256=fyGxBVb6yrVrsE7-2tTyiJ7orb9Jz
64
64
  fractal_server/app/routes/auth/current_user.py,sha256=jvr5AX3tSmxV7HMY8OIiojcYxcX4mF-UIUNwG8CqvVo,7110
65
65
  fractal_server/app/routes/auth/group.py,sha256=gSyB9iuwCqT6CMDHyO8hYIQ1J341gs8SDrRdHppOMT0,7890
66
66
  fractal_server/app/routes/auth/login.py,sha256=tSu6OBLOieoBtMZB4JkBAdEgH2Y8KqPGSbwy7NIypIo,566
67
- fractal_server/app/routes/auth/oauth.py,sha256=M92lGae_qtBTMC9N8Ylg1wCdJrUEYTZ9Moo9_g4xgNA,1978
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
- fractal_server/app/routes/auth/router.py,sha256=tzJrygXFZlmV_uWelVqTOJMEH-3Fr7ydwlgx1LxRjxY,527
69
+ fractal_server/app/routes/auth/router.py,sha256=-E87A8h2UvcLucy5xjzKiWbXHVKcqxUmmZGeV_utEzA,598
70
70
  fractal_server/app/routes/auth/users.py,sha256=tYttZjyrsTLiOb5PZyMiAo4DD2ZEuPhPpSSw8ZIcJuc,8184
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
74
- fractal_server/app/routes/aux/validate_user_profile.py,sha256=3kJeA9iJ8c7_7H27QXYSx3gY15rc13q7JAfY-KcqVEo,1965
74
+ fractal_server/app/routes/aux/validate_user_profile.py,sha256=fGqJDdAFkbQoEIjqZ5F9-SDY_4os63R2EUMqODC7eBg,1969
75
75
  fractal_server/app/routes/aux/validate_user_settings.py,sha256=C_V5QhnBppyr-YYoni_yVrooU5bKfSTrwM-ea2m5pqU,2405
76
76
  fractal_server/app/routes/pagination.py,sha256=IGy8Ll5lYr6ENYE18h3huH5s0GMX1DCs5VdCi6j1cdk,1174
77
77
  fractal_server/app/schemas/__init__.py,sha256=stURAU_t3AOBaH0HSUbV-GKhlPKngnnIMoqWc3orFyI,135
@@ -85,9 +85,9 @@ fractal_server/app/schemas/v2/dumps.py,sha256=LCYiNF_FNYiA6HYp5GyFao3IKRX0RpzgNp
85
85
  fractal_server/app/schemas/v2/history.py,sha256=pZiMKfh6nMWbTp5MUtrnGySPKbeRFf5tM1VLFaTgGcw,1784
86
86
  fractal_server/app/schemas/v2/job.py,sha256=BuiNzAX2Kl-b7LJnAiqCGDC9h6bGEjKvsHQIgf5mjHQ,3330
87
87
  fractal_server/app/schemas/v2/manifest.py,sha256=QUpXMDB8WkB1F4UK-yYmm3O8bXoHwDGURnqwn6ayO_I,6674
88
- fractal_server/app/schemas/v2/profile.py,sha256=_cDT5t4fdbmZnPGWT7Ej5HaOeOAN9lvLetnY0OjvADI,1914
88
+ fractal_server/app/schemas/v2/profile.py,sha256=tqjG3kgoBsNl0It0icZQ0mIab2POmV_K8fsL21-WR8U,2082
89
89
  fractal_server/app/schemas/v2/project.py,sha256=7UC0aZLgtmkaAiPykeUj-9OZXhMkoyi3V-475UW_EQs,654
90
- fractal_server/app/schemas/v2/resource.py,sha256=p2ePDYVTGPBs_wV-jBvK-9J19hL7u9cUS0NssBf01Js,3268
90
+ fractal_server/app/schemas/v2/resource.py,sha256=4iXzZJeHVLcXYY08-okoJM_4gqpzhG4KglRPBm24Jwc,3718
91
91
  fractal_server/app/schemas/v2/status_legacy.py,sha256=eQT1zGxbkzSwd0EqclsOdZ60n1x6J3DB1CZ3m4LYyxc,955
92
92
  fractal_server/app/schemas/v2/task.py,sha256=IJv8loB4kx9FBkaIHoiMsswQyq02FxvyAnHK1u074fU,4364
93
93
  fractal_server/app/schemas/v2/task_collection.py,sha256=BzHQXq2_zLZTbigWauOR5Zi-mlsqCIF2NEF_z12Nqxg,4480
@@ -98,11 +98,12 @@ fractal_server/app/security/__init__.py,sha256=eiYSoUA0XrRGKGKnBOK1KxLhQT9gK0H11
98
98
  fractal_server/app/security/signup_email.py,sha256=RgU9ia092778j35W4Iil3Ke9wNpPzKH6rjpE0zM9Zb4,1486
99
99
  fractal_server/app/shutdown.py,sha256=ViSNJyXWU_iWPSDOOMGNh_iQdUFrdPh_jvf8vVKLpAo,1950
100
100
  fractal_server/app/user_settings.py,sha256=5thFLR6de-CiaUyDZG9Bpn-P97vraDk4TP85eDuh8io,898
101
- fractal_server/config/__init__.py,sha256=ffFoy46WHk4fJRWkeBZNa4dKKEYdP3Kf7pDRAN1sZKM,594
101
+ fractal_server/config/__init__.py,sha256=VrS810yeeEcZg_NI2-x8KJoAuVMnbumA-sWOLAeHEI4,729
102
102
  fractal_server/config/_database.py,sha256=YOBi3xuJno5wLGw1hKsjLm-bftaxVWiBNIQWVTMX3Ag,1661
103
103
  fractal_server/config/_email.py,sha256=iiUP5Be9AzDDJmVsWfTFzLt9XreTFt9pRcX7f9eRNvw,5682
104
104
  fractal_server/config/_init_data.py,sha256=w4fUSFhQtCeN_HiUnLldLBL19Yvawva5iUV-vJcdvcA,838
105
- fractal_server/config/_main.py,sha256=H7ePa0_TDfP0_xE2fdmIebmjhW9CPnUurDHMjFlMY-g,7073
105
+ fractal_server/config/_main.py,sha256=NaKnNjkGZQdHjWPRuwa42I2a024Yqg3zuFUM0vMJzlo,3630
106
+ fractal_server/config/_oauth.py,sha256=OYWqJnL0yn8ymagKb4fK-2zNqXVBbumRWwZrr9TFUms,1926
106
107
  fractal_server/config/_settings_config.py,sha256=tsyXQOnn9QKCFJD6hRo_dJXlQQyl70DbqgHMJoZ1xnY,144
107
108
  fractal_server/data_migrations/2_14_10.py,sha256=jzMg2c1zNO8C_Nho_9_EZJD6kR1-gkFNpNrMR5Hr8hM,1598
108
109
  fractal_server/data_migrations/README.md,sha256=_3AEFvDg9YkybDqCLlFPdDmGJvr6Tw7HRI14aZ3LOIw,398
@@ -258,8 +259,8 @@ fractal_server/types/validators/_workflow_task_arguments_validators.py,sha256=HL
258
259
  fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
259
260
  fractal_server/utils.py,sha256=SYVVUuXe_nWyrJLsy7QA-KJscwc5PHEXjvsW4TK7XQI,2180
260
261
  fractal_server/zip_tools.py,sha256=H0w7wS5yE4ebj7hw1_77YQ959dl2c-L0WX6J_ro1TY4,4884
261
- fractal_server-2.17.0a0.dist-info/METADATA,sha256=z6kUGelCWLPqV7DwG3I11F2k7kUWxmA4wQBrLJB3M70,4319
262
- fractal_server-2.17.0a0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
263
- fractal_server-2.17.0a0.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
264
- fractal_server-2.17.0a0.dist-info/licenses/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
265
- fractal_server-2.17.0a0.dist-info/RECORD,,
262
+ fractal_server-2.17.0a2.dist-info/METADATA,sha256=n4uYAbw37IIC0oulT2SUSeS_HzVc530TCATRLONVXdU,4319
263
+ fractal_server-2.17.0a2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
264
+ fractal_server-2.17.0a2.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
265
+ fractal_server-2.17.0a2.dist-info/licenses/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
266
+ fractal_server-2.17.0a2.dist-info/RECORD,,