Skip to content

Commit

Permalink
open constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelioLpz committed Apr 5, 2024
1 parent c3450e9 commit 277b91d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/resources/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Dict, NoReturn
from typing import Dict

from cuenca_validations.errors import WrongCredsError

Expand All @@ -14,12 +14,12 @@ def health_auth_check() -> Dict:


@app.get('/raise_cuenca_errors')
def raise_cuenca_errors() -> NoReturn:
def raise_cuenca_errors() -> None:
raise WrongCredsError('you are not lucky enough!')


@app.get('/raise_fast_agave_errors')
def raise_fast_agave_errors() -> NoReturn:
def raise_fast_agave_errors() -> None:
raise UnauthorizedError('nice try!')


Expand Down
2 changes: 1 addition & 1 deletion fast_agave/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.14.2.dev4'
__version__ = '0.14.2.dev5'
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
aiobotocore==2.1.0
anyio==4.3.0
cuenca-validations==0.11.27
fastapi==0.106.0
fastapi==0.108.0
httpx==0.27.0
mongoengine-plus==0.1.2
python-multipart==0.0.5
starlette==0.27.0
starlette-context==0.3.3
types-aiobotocore-sqs==2.1.0.post1
uvicorn==0.29.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'fastapi>=0.63.0,<1.0.0',
'httpx>=0.19.0,<1.0.0',
'mongoengine-plus>=0.1.2,<1.0.0',
'starlette>=0.14.2,<0.28.0',
'starlette>=0.14.2,<1.0.0',
'starlette-context>=0.3.2,<0.4.0',
'uvicorn>=0.29.0,<1.0.0',
],
Expand Down

0 comments on commit 277b91d

Please sign in to comment.