bella-openapi 1.0.0__py3-none-any.whl → 1.0.0.1__py3-none-any.whl

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.
@@ -37,7 +37,7 @@ class WebSocketHttpContextMiddleware:
37
37
  try:
38
38
  token = query_params.get('token')
39
39
  caller = validate_token(token[0])
40
- except AuthorizationException as e:
40
+ except AuthorizationException:
41
41
  await send({
42
42
  "type": "websocket.close",
43
43
  "code": 1006,
@@ -62,7 +62,7 @@ def match_url(patterns, url):
62
62
  # 匹配 URL
63
63
  adapter = Map(rules).bind('')
64
64
  try:
65
- result = adapter.match(url)
65
+ adapter.match(url)
66
66
  return True
67
67
  except werkzeug.exceptions.NotFound:
68
68
  return False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bella-openapi
3
- Version: 1.0.0
3
+ Version: 1.0.0.1
4
4
  Summary: client for openapi service.
5
5
  Home-page:
6
6
  Author: ['tangxiaolong', 'fanqiangwei', 'zhangxiaojia', 'liumin', 'wangyukun']
@@ -33,7 +33,7 @@ OpenAPI网关服务客户端
33
33
  ### 安装
34
34
 
35
35
  ```shell
36
- pip install ait_openapi
36
+ pip install bella-openapi
37
37
  ```
38
38
 
39
39
  ### 配置网关域名
@@ -230,7 +230,7 @@ get接口地址:/v1/openapi/log/{requestId}
230
230
  传入链路id,可查询当前链路下的所有日志信息
231
231
 
232
232
  ### Trace SDK
233
- 使用方法见:[Trace README](./src/ait_openapi/bella_trace/README.md)
233
+ 使用方法见:[Trace README](src/bella-openapi/bella_trace/README.md)
234
234
 
235
235
  ## release log
236
236
 
@@ -253,4 +253,6 @@ get接口地址:/v1/openapi/log/{requestId}
253
253
  * 0.0.1.26
254
254
  - 新增 console 模块,实现元数据获取
255
255
  * 1.0.0
256
- - 项目发到python中央仓库
256
+ - 项目发到python中央仓库,请不要使用此版本,pipy仓库已删除
257
+ * 1.0.1
258
+ * rename 包名
@@ -0,0 +1,22 @@
1
+ bella-openapi/__init__.py,sha256=x4-zOWaFs2J7ca0I6e0kP2jPfajmBoRqAbzs6T9PC54,919
2
+ bella-openapi/auth_billing.py,sha256=JbFnCU96NHmME19JXSTbHuqDTU6YDIGTpIDSwaY5WCk,3611
3
+ bella-openapi/authorize.py,sha256=5-vxEUC1LeWd7BKDeCEbOGMluBWbgOJ3bgZhASAW7yY,2211
4
+ bella-openapi/config.py,sha256=JOlLZIslOx6-gB1CRtDVqFK7Po96kO456Fog0p0J4og,334
5
+ bella-openapi/exception.py,sha256=A9wc10ygVTaG0pNUiIc4Cg_kcUcsa9HELiI3htdY9yM,312
6
+ bella-openapi/log.py,sha256=FP3LUNp2mBaAHaNI35_iGdkINNRdB9Q7orSQJgoPLrk,8596
7
+ bella-openapi/openapi_contexvar.py,sha256=70zichjGa9c-8IZjJJyidOD3aHmKNrWlUWP8gulHLFA,327
8
+ bella-openapi/schema.py,sha256=hWVaw9jVVTTiUAn5VXJQYc9idYeJx15-oA-CU_fbopQ,2537
9
+ bella-openapi/bella_trace/__init__.py,sha256=ItVqtDZ79m4ByGSbutQhAOTQ9NjgXneaYx2tigZ_-hU,588
10
+ bella-openapi/bella_trace/_context.py,sha256=mwaOjqMvMdSkFNWRTKKFvWctbvS412K4DNy29JoyL6w,1400
11
+ bella-openapi/bella_trace/fastapi_interceptor.py,sha256=IAlU2JOAxu3WMTvvXv94w56_7B2IBWcVKVXqaR8jJCU,850
12
+ bella-openapi/bella_trace/record_log.py,sha256=33vB3ZotpTltT4YRBP7awdK9-HCAZGaASNVAatKMx3M,1775
13
+ bella-openapi/bella_trace/trace_requests.py,sha256=8R4QiTan8ruH3jBmipdDeNVd8HQIlYqF908I0huy4W8,1428
14
+ bella-openapi/console/__init__.py,sha256=yUP83l7Hp-5qWT7uZ4QZoDfeWx7AjRguWBbPPfVd7Pw,66
15
+ bella-openapi/console/models.py,sha256=HWn7AitLt73Ag2ROyKoUHK34QWtwQ9s_Vz9Wu4IB3cQ,1316
16
+ bella-openapi/middleware/__init__.py,sha256=ZzvwJ9NjB7bKs3LtyVnTp8msHyxLVQoWcyAVmP0k-XA,160
17
+ bella-openapi/middleware/context_middleware.py,sha256=aMNwteZIdJymqWwmkYPw1qw9QwpoNrKRdV2ObUa7LKI,3972
18
+ bella_openapi-1.0.0.1.dist-info/licenses/LICENSE,sha256=56xiUFcFori4XRJ1nMyyS7DXMSjzaBKWRaZbqCffoY8,1075
19
+ bella_openapi-1.0.0.1.dist-info/METADATA,sha256=iTp4iscvmMReKB3_9wsKTiyN3B3hNAv_CPXu3PohO4c,9566
20
+ bella_openapi-1.0.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ bella_openapi-1.0.0.1.dist-info/top_level.txt,sha256=CApyUrp5Ve8ib7sq-AqYVX60G6oVsdxcEBy4UJf-x_s,14
22
+ bella_openapi-1.0.0.1.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ bella-openapi
@@ -1,22 +0,0 @@
1
- ait_openapi/__init__.py,sha256=x4-zOWaFs2J7ca0I6e0kP2jPfajmBoRqAbzs6T9PC54,919
2
- ait_openapi/auth_billing.py,sha256=JbFnCU96NHmME19JXSTbHuqDTU6YDIGTpIDSwaY5WCk,3611
3
- ait_openapi/authorize.py,sha256=5-vxEUC1LeWd7BKDeCEbOGMluBWbgOJ3bgZhASAW7yY,2211
4
- ait_openapi/config.py,sha256=JOlLZIslOx6-gB1CRtDVqFK7Po96kO456Fog0p0J4og,334
5
- ait_openapi/exception.py,sha256=A9wc10ygVTaG0pNUiIc4Cg_kcUcsa9HELiI3htdY9yM,312
6
- ait_openapi/log.py,sha256=FP3LUNp2mBaAHaNI35_iGdkINNRdB9Q7orSQJgoPLrk,8596
7
- ait_openapi/openapi_contexvar.py,sha256=70zichjGa9c-8IZjJJyidOD3aHmKNrWlUWP8gulHLFA,327
8
- ait_openapi/schema.py,sha256=hWVaw9jVVTTiUAn5VXJQYc9idYeJx15-oA-CU_fbopQ,2537
9
- ait_openapi/bella_trace/__init__.py,sha256=ItVqtDZ79m4ByGSbutQhAOTQ9NjgXneaYx2tigZ_-hU,588
10
- ait_openapi/bella_trace/_context.py,sha256=mwaOjqMvMdSkFNWRTKKFvWctbvS412K4DNy29JoyL6w,1400
11
- ait_openapi/bella_trace/fastapi_interceptor.py,sha256=IAlU2JOAxu3WMTvvXv94w56_7B2IBWcVKVXqaR8jJCU,850
12
- ait_openapi/bella_trace/record_log.py,sha256=33vB3ZotpTltT4YRBP7awdK9-HCAZGaASNVAatKMx3M,1775
13
- ait_openapi/bella_trace/trace_requests.py,sha256=8R4QiTan8ruH3jBmipdDeNVd8HQIlYqF908I0huy4W8,1428
14
- ait_openapi/console/__init__.py,sha256=yUP83l7Hp-5qWT7uZ4QZoDfeWx7AjRguWBbPPfVd7Pw,66
15
- ait_openapi/console/models.py,sha256=HWn7AitLt73Ag2ROyKoUHK34QWtwQ9s_Vz9Wu4IB3cQ,1316
16
- ait_openapi/middleware/__init__.py,sha256=ZzvwJ9NjB7bKs3LtyVnTp8msHyxLVQoWcyAVmP0k-XA,160
17
- ait_openapi/middleware/context_middleware.py,sha256=RusQmPV0vLpPJnyH_hKSWYFMXG5n2QkbfRoHGmTQQco,3986
18
- bella_openapi-1.0.0.dist-info/licenses/LICENSE,sha256=56xiUFcFori4XRJ1nMyyS7DXMSjzaBKWRaZbqCffoY8,1075
19
- bella_openapi-1.0.0.dist-info/METADATA,sha256=pwC6bFKHFY4aAcKsBTjq48elDw1ufBMQttEqrnpylRw,9483
20
- bella_openapi-1.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- bella_openapi-1.0.0.dist-info/top_level.txt,sha256=GfjeyDToGVkp5snTGNX7KVPp37VtVWikor-7Yzwr2Hc,12
22
- bella_openapi-1.0.0.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- ait_openapi
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
File without changes
File without changes
File without changes
File without changes
File without changes