diff --git a/pephub/_version.py b/pephub/_version.py index 8a27acda..c2120956 100644 --- a/pephub/_version.py +++ b/pephub/_version.py @@ -1 +1 @@ -__version__ = "0.11.0rc1" +__version__ = "0.11.0rc2" diff --git a/pephub/routers/api/v1/namespace.py b/pephub/routers/api/v1/namespace.py index 0dbedcae..35fee673 100644 --- a/pephub/routers/api/v1/namespace.py +++ b/pephub/routers/api/v1/namespace.py @@ -31,9 +31,7 @@ from ....dependencies import ( get_db, get_namespace_info, - get_user_from_session_info, read_authorization_header, - get_organizations_from_session_info, get_namespace_access_list, verify_user_can_write_namespace, ) diff --git a/pephub/routers/api/v1/project.py b/pephub/routers/api/v1/project.py index f2daf073..9b341983 100644 --- a/pephub/routers/api/v1/project.py +++ b/pephub/routers/api/v1/project.py @@ -24,7 +24,7 @@ from ...models import ProjectOptional, ProjectRawModel, ForkRequest -from ....helpers import zip_conv_result, get_project_sample_names, zip_pep +from ....helpers import zip_conv_result, zip_pep from ....dependencies import ( get_db, get_project, @@ -541,7 +541,7 @@ async def upload_sample( except Exception: raise HTTPException( status_code=400, - detail=f"Could not upload sample. Server error!", + detail="Could not upload sample. Server error!", ) @@ -577,7 +577,7 @@ async def delete_sample( except Exception: raise HTTPException( status_code=400, - detail=f"Could not delete sample. Server error!", + detail="Could not delete sample. Server error!", )