global-handler 1.0.1__tar.gz → 1.0.2__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.
- {global_handler-1.0.1 → global_handler-1.0.2}/PKG-INFO +1 -1
- {global_handler-1.0.1 → global_handler-1.0.2}/pyproject.toml +1 -1
- {global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/decorators/error_handler.py +2 -2
- {global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/decorators/request_decorators.py +1 -1
- {global_handler-1.0.1 → global_handler-1.0.2}/LICENSE +0 -0
- {global_handler-1.0.1 → global_handler-1.0.2}/README.md +0 -0
- {global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/exceptions/http_exceptions.py +0 -0
- {global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/middlewares/metrics_middleware.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: global-handler
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Global Handler es una librería Python diseñada para facilitar el manejo de errores, validaciones de requests y métricas en aplicaciones web
|
|
5
5
|
Author: Damian Gonzalez
|
|
6
6
|
Author-email: damian27goa@gmail.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "global-handler"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.2"
|
|
4
4
|
description = "Global Handler es una librería Python diseñada para facilitar el manejo de errores, validaciones de requests y métricas en aplicaciones web"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Damian Gonzalez", email = "damian27goa@gmail.com"}
|
{global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/decorators/error_handler.py
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
from
|
|
3
|
-
from
|
|
2
|
+
from ...controllers.base_controller import BaseController
|
|
3
|
+
from ..exceptions.http_exceptions import HttpError
|
|
4
4
|
from logger_tracker import logg_warning, _request_uuid, logg_debug, logg_error
|
|
5
5
|
from src.config import DEBUG
|
|
6
6
|
|
{global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/decorators/request_decorators.py
RENAMED
|
@@ -4,7 +4,7 @@ from werkzeug.exceptions import BadRequest
|
|
|
4
4
|
from pydantic import ValidationError
|
|
5
5
|
|
|
6
6
|
from logger_tracker import logg_warning, logg_debug, logg_info
|
|
7
|
-
from
|
|
7
|
+
from ..exceptions.http_exceptions import (
|
|
8
8
|
ValidationHttpError,
|
|
9
9
|
InvalidJsonHttpError,
|
|
10
10
|
MissingParameterHttpError,
|
|
File without changes
|
|
File without changes
|
{global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/exceptions/http_exceptions.py
RENAMED
|
File without changes
|
{global_handler-1.0.1 → global_handler-1.0.2}/src/global_handler/middlewares/metrics_middleware.py
RENAMED
|
File without changes
|