internal 1.1.13__py3-none-any.whl → 1.1.14__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.

Potentially problematic release.


This version of internal might be problematic. Click here for more details.

internal/http/requests.py CHANGED
@@ -76,7 +76,7 @@ async def async_request(app: FastAPI, method, url, current_user: dict = None,
76
76
  retries = 0
77
77
  current_delay = request_retry_delay_initial_seconds
78
78
 
79
- while retries <= request_retry_count:
79
+ while retries < request_retry_count:
80
80
  app.state.logger.warn(f"【{app.title}】 \nURL: {method} {url} \nkwargs: {kwargs} \n嘗試送請求 (第 {retries + 1} 次嘗試)...")
81
81
  try:
82
82
  # 使用 await 關鍵字等待異步請求完成
@@ -120,7 +120,7 @@ async def send_webhook_message(app: FastAPI, message: str):
120
120
  retries = 0
121
121
  current_delay = app.state.config.WEBHOOK_RETRY_DELAY_INITIAL_SECONDS
122
122
 
123
- while retries <= retry_count:
123
+ while retries < retry_count:
124
124
  app.state.logger.warn(f"嘗試發送訊息 (第 {retries + 1} 次嘗試)...")
125
125
  try:
126
126
  # 使用 await 關鍵字等待異步請求完成
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: internal
3
- Version: 1.1.13
3
+ Version: 1.1.14
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -23,7 +23,7 @@ internal/ext/amazon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
23
23
  internal/ext/amazon/aws/__init__.py,sha256=2YFjb-rHG1JaZGZiZffYDesgTAJjDshOqQbswOYzhP8,834
24
24
  internal/ext/amazon/aws/const.py,sha256=l4WMg5bKWujwOKABBkCO2zclNg3abnYOfbhD7DG8GsA,109
25
25
  internal/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- internal/http/requests.py,sha256=SD1jClXQ1rQjSY143cL-vd8bC6yHcue7REDetWU3Sso,8106
26
+ internal/http/requests.py,sha256=qnUJlPBfBwSnNPKuZkTK4pYPFa9FP4r3OlU3hi9QdYM,8104
27
27
  internal/http/responses.py,sha256=zvU0iRQ9-qxeEZfKmuvTi8lv9DFcaNAsHlQKOTCpVzw,2945
28
28
  internal/interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  internal/interface/base_interface.py,sha256=3YaVjIgLi_pZpLk5SEIk8WVkuICM8qPavT8rB0MdB5U,1536
@@ -34,6 +34,6 @@ internal/model/base_model.py,sha256=hxleV8fYNvFgUoYmCv_inEP3kA4tD4HhCBCNFVK8SZg,
34
34
  internal/model/operate.py,sha256=QSM6yXYXpJMwrqkUGEWZLrEBaUgqHwVHY_Fi4S42hKc,3190
35
35
  internal/utils.py,sha256=i6YZdiXsiWnOjRdlJ6afNCGpyMe3Uo9mhm3xlQBy3Ls,2824
36
36
  internal/validator_utils.py,sha256=CqjaVFoAu5MqvBG_AkTP-r7AliWawtUWB851USj4moI,1519
37
- internal-1.1.13.dist-info/METADATA,sha256=VPqzG5UnLdEAxu2d8NYv2wQ8TDlEhiV_zzYHY84peQA,939
38
- internal-1.1.13.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
39
- internal-1.1.13.dist-info/RECORD,,
37
+ internal-1.1.14.dist-info/METADATA,sha256=YHjD8u_SZ_L3V0DzsY-UaXO5_Zwp7VAPVUvS8tMIJhY,939
38
+ internal-1.1.14.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
39
+ internal-1.1.14.dist-info/RECORD,,