bella-openapi 1.0.1__tar.gz → 1.0.1.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.
- {bella_openapi-1.0.1/src/bella_openapi.egg-info → bella_openapi-1.0.1.1}/PKG-INFO +3 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/README.md +3 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/setup.py +1 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/__init__.py +1 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/console/models.py +1 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/middleware/context_middleware.py +3 -3
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1/src/bella_openapi.egg-info}/PKG-INFO +3 -1
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/LICENSE +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/setup.cfg +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/__init__.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/auth_billing.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/authorize.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/_context.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/fastapi_interceptor.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/record_log.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/trace_requests.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/config.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/console/__init__.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/exception.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/log.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/middleware/__init__.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/openapi_contexvar.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/schema.py +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/SOURCES.txt +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/dependency_links.txt +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/not-zip-safe +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/requires.txt +0 -0
- {bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bella-openapi
|
3
|
-
Version: 1.0.1
|
3
|
+
Version: 1.0.1.1
|
4
4
|
Summary: client for openapi service.
|
5
5
|
Home-page:
|
6
6
|
Author: ['tangxiaolong', 'fanqiangwei', 'zhangxiaojia', 'liumin', 'wangyukun']
|
@@ -256,3 +256,5 @@ get接口地址:/v1/openapi/log/{requestId}
|
|
256
256
|
- 项目发到python中央仓库,请不要使用此版本,pipy仓库已删除
|
257
257
|
* 1.0.1
|
258
258
|
* rename 包名
|
259
|
+
* 1.0.2
|
260
|
+
* 修复bug
|
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|
3
3
|
|
4
4
|
SHORT = "client for openapi service."
|
5
5
|
|
6
|
-
__version__ = "1.0.1"
|
6
|
+
__version__ = "1.0.1.1"
|
7
7
|
__author__ = ["tangxiaolong", "fanqiangwei", "zhangxiaojia", 'liumin', 'wangyukun']
|
8
8
|
__email__ = ''
|
9
9
|
readme_path = 'README.md'
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# ======================
|
8
8
|
from ._context import TraceContext, TRACE_ID
|
9
9
|
from .fastapi_interceptor import FastapiBellaTraceMiddleware
|
10
|
-
import
|
10
|
+
import bella_openapi.bella_trace.trace_requests as requests
|
11
11
|
from .record_log import trace, BellaTraceHandler
|
12
12
|
|
13
13
|
__all__ = ["TraceContext", "TRACE_ID", "FastapiBellaTraceMiddleware", "requests", "trace", "BellaTraceHandler"]
|
{bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/middleware/context_middleware.py
RENAMED
@@ -6,9 +6,9 @@ from starlette.datastructures import URL
|
|
6
6
|
from starlette.middleware.base import BaseHTTPMiddleware
|
7
7
|
from starlette.responses import JSONResponse
|
8
8
|
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
9
|
+
from bella_openapi import caller_id_context, request_url_context, trace_id_context
|
10
|
+
from bella_openapi import validate_token
|
11
|
+
from bella_openapi.exception import AuthorizationException
|
12
12
|
from urllib.parse import parse_qs
|
13
13
|
|
14
14
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bella-openapi
|
3
|
-
Version: 1.0.1
|
3
|
+
Version: 1.0.1.1
|
4
4
|
Summary: client for openapi service.
|
5
5
|
Home-page:
|
6
6
|
Author: ['tangxiaolong', 'fanqiangwei', 'zhangxiaojia', 'liumin', 'wangyukun']
|
@@ -256,3 +256,5 @@ get接口地址:/v1/openapi/log/{requestId}
|
|
256
256
|
- 项目发到python中央仓库,请不要使用此版本,pipy仓库已删除
|
257
257
|
* 1.0.1
|
258
258
|
* rename 包名
|
259
|
+
* 1.0.2
|
260
|
+
* 修复bug
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/fastapi_interceptor.py
RENAMED
File without changes
|
File without changes
|
{bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi/bella_trace/trace_requests.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bella_openapi-1.0.1 → bella_openapi-1.0.1.1}/src/bella_openapi.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|