tools2fast-fastapi 0.2.0__tar.gz → 0.2.1__tar.gz
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.
- {tools2fast_fastapi-0.2.0/src/tools2fast_fastapi.egg-info → tools2fast_fastapi-0.2.1}/PKG-INFO +1 -1
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/pyproject.toml +1 -1
- tools2fast_fastapi-0.2.1/src/tools2fast_fastapi/__version__.py +1 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/utils/routing.py +2 -1
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1/src/tools2fast_fastapi.egg-info}/PKG-INFO +1 -1
- tools2fast_fastapi-0.2.0/src/tools2fast_fastapi/__version__.py +0 -1
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/LICENSE +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/MANIFEST.in +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/README.md +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/docs/guide.md +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/examples/example.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/setup.cfg +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/__init__.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/models/__init__.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/models/mixins.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/schemas/__init__.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/schemas/mixins.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/schemas/response_schema.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/__init__.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/document_simple_revision_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/document_with_items_revision_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/number_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/revision_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/transaction_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/utils/__init__.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/SOURCES.txt +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/dependency_links.txt +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/requires.txt +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/top_level.txt +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/tests/test_initial.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/tests/test_response_schema.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/tests/test_revision_service.py +0 -0
- {tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/tests/test_schemas.py +0 -0
{tools2fast_fastapi-0.2.0/src/tools2fast_fastapi.egg-info → tools2fast_fastapi-0.2.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tools2fast-fastapi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Shared tools, mixins, and base services for FastAPI applications - Solautyc Team internal use
|
|
5
5
|
Author-email: Angel Daniel Sanchez Castillo <angeldaniel.sanchezcastillo@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tools2fast-fastapi"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = "Shared tools, mixins, and base services for FastAPI applications - Solautyc Team internal use"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.1"
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/utils/routing.py
RENAMED
|
@@ -30,7 +30,8 @@ def handle_exceptions(func: Callable) -> Callable:
|
|
|
30
30
|
try:
|
|
31
31
|
return await func(*args, **kwargs)
|
|
32
32
|
except Exception as exc:
|
|
33
|
-
|
|
33
|
+
error_response, http_status = APIResponse.from_exception(exc)
|
|
34
|
+
return JSONResponse(status_code=http_status, content=error_response.model_dump())
|
|
34
35
|
|
|
35
36
|
return wrapper
|
|
36
37
|
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1/src/tools2fast_fastapi.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tools2fast-fastapi
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Shared tools, mixins, and base services for FastAPI applications - Solautyc Team internal use
|
|
5
5
|
Author-email: Angel Daniel Sanchez Castillo <angeldaniel.sanchezcastillo@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/models/__init__.py
RENAMED
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/models/mixins.py
RENAMED
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/schemas/__init__.py
RENAMED
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/schemas/mixins.py
RENAMED
|
File without changes
|
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/services/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi/utils/__init__.py
RENAMED
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/requires.txt
RENAMED
|
File without changes
|
{tools2fast_fastapi-0.2.0 → tools2fast_fastapi-0.2.1}/src/tools2fast_fastapi.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|