Skip to content

Commit 46b368c

Browse files
committed
Rename hint
1 parent fd1af65 commit 46b368c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fractal_server/app/routes/api/v2/_aux_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ async def _get_dataset_check_access(
309309
return dict(dataset=dataset, project=project)
310310

311311

312-
class JobOrProject(TypedDict):
312+
class JobAndProject(TypedDict):
313313
job: JobV2
314314
project: ProjectV2
315315

@@ -321,7 +321,7 @@ async def _get_job_check_access(
321321
user_id: int,
322322
required_permissions: ProjectPermissions,
323323
db: AsyncSession,
324-
) -> JobOrProject:
324+
) -> JobAndProject:
325325
"""
326326
Get a job and a project, after access control on the project
327327

0 commit comments

Comments
 (0)