Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/utils/direct_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
fastapi-slim>=0.116.1
fastapi-slim>=0.117.1
hypercorn>=0.17.3
oteapi-core>=1.0.0
pydantic>=2.11.7
pydantic>=2.11.9
pydantic-settings>=2.10.1
redis>=6.4.0
tenacity>=9.1.2
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def create_app() -> FastAPI:
app.include_router(
router,
responses={
status.HTTP_422_UNPROCESSABLE_ENTITY: {
status.HTTP_422_UNPROCESSABLE_CONTENT: {
"description": "Validation Error",
"model": HTTPValidationError,
},
Expand Down
2 changes: 1 addition & 1 deletion app/models/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def httpexception_404_item_id_does_not_exist(
def httpexception_422_resource_id_is_unprocessable(resource_id: str) -> HTTPException:
"""return 422 Exception with resource_id."""
return HTTPException(
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
status_code=status.HTTP_422_UNPROCESSABLE_CONTENT,
detail=[
{
"loc": ["resource_id"],
Expand Down
2 changes: 1 addition & 1 deletion app/routers/dataresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
tags=["dataresource"],
responses={
status.HTTP_404_NOT_FOUND: {"model": HTTPNotFoundError},
status.HTTP_422_UNPROCESSABLE_ENTITY: {"model": HTTPValidationError},
status.HTTP_422_UNPROCESSABLE_CONTENT: {"model": HTTPValidationError},
},
)

Expand Down
22 changes: 11 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ annotated-types==0.7.0
anyio==4.10.0
async-timeout==5.0.1
bcrypt==4.3.0
billiard==4.2.1
billiard==4.2.2
celery==5.5.3
certifi==2025.8.3
cffi==1.17.1
cffi==2.0.0
charset-normalizer==3.4.3
click==8.2.1
click==8.3.0
click-didyoumean==0.3.1
click-plugins==1.1.1.2
click-repl==0.3.0
cryptography==45.0.6
cryptography==46.0.1
diskcache==5.6.3
et_xmlfile==2.0.0
exceptiongroup==1.3.0
fastapi-slim==0.116.1
fastapi-slim==0.117.1
h11==0.16.0
h2==4.3.0
hpack==4.1.0
Expand All @@ -32,21 +32,21 @@ paramiko==4.0.0
pillow==11.3.0
priority==2.0.0
prompt_toolkit==3.0.52
psycopg==3.2.9
psycopg-binary==3.2.9
pycparser==2.22
pydantic==2.11.7
psycopg==3.2.10
psycopg-binary==3.2.10
pycparser==2.23
pydantic==2.11.9
pydantic-settings==2.10.1
pydantic_core==2.33.2
PyNaCl==1.5.0
PyNaCl==1.6.0
pysftp==0.2.9
python-dateutil==2.9.0.post0
python-dotenv==1.1.1
redis==6.4.0
requests==2.32.5
six==1.17.0
sniffio==1.3.1
starlette==0.47.3
starlette==0.48.0
taskgroup==0.2.2
tenacity==9.1.2
tomli==2.2.1
Expand Down