bizyengine 1.2.47__py3-none-any.whl → 1.2.48__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.
@@ -169,7 +169,7 @@ def send_request(
169
169
  response_body = e.read().decode("utf-8") if hasattr(e, "read") else "N/A"
170
170
  if verbose:
171
171
  logging.error(f"URLError encountered: {error_message}")
172
- logging.info(f"Response Body: {response_data}")
172
+ logging.info(f"Response Body: {response_body}")
173
173
  code, message = "N/A", "N/A"
174
174
  try:
175
175
  response_dict = json.loads(response_body)
@@ -178,8 +178,8 @@ def send_request(
178
178
  message = response_dict.get("message", "N/A")
179
179
 
180
180
  except json.JSONDecodeError:
181
- if verbose:
182
- logging.error("Failed to decode response body as JSON.")
181
+ error_info = f"Failed to decode response body as JSON: {str(e)}. Response: {response_body[:200]}"
182
+ raise ConnectionError(f"Invalid server response: {error_info}") from e
183
183
 
184
184
  if "Unauthorized" in error_message:
185
185
  raise PermissionError(
@@ -225,7 +225,7 @@ def send_request(
225
225
  except urllib.error.HTTPError as e:
226
226
  success = 200 <= e.code < 400
227
227
  except (urllib.error.URLError, TimeoutError):
228
- pass
228
+ logging.error(f"Failed ({type(e).__name__}: {str(e)})")
229
229
  results[site] = "Success" if success else "Failed"
230
230
  raise ConnectionError(
231
231
  f"Failed to connect to the server: {url}.\n"
bizyengine/version.txt CHANGED
@@ -1 +1 @@
1
- 1.2.47
1
+ 1.2.48
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bizyengine
3
- Version: 1.2.47
3
+ Version: 1.2.48
4
4
  Summary: [a/BizyAir](https://github.com/siliconflow/BizyAir) Comfy Nodes that can run in any environment.
5
5
  Author-email: SiliconFlow <yaochi@siliconflow.cn>
6
6
  Project-URL: Repository, https://github.com/siliconflow/BizyAir
@@ -1,5 +1,5 @@
1
1
  bizyengine/__init__.py,sha256=GP9V-JM07fz7uv_qTB43QEA2rKdrVJxi5I7LRnn_3ZQ,914
2
- bizyengine/version.txt,sha256=fUYp_X7SLV0bJdJTQ07vt0yEf0BiLHjFOMJ46TrHTFg,7
2
+ bizyengine/version.txt,sha256=bnvdsAiKg-CLDL8gDQ12c9u0SoaVKcwhsnSzGc7CnJA,7
3
3
  bizyengine/bizy_server/__init__.py,sha256=SP9oSblnPo4KQyh7yOGD26YCskFAcQHAZy04nQBNRIw,200
4
4
  bizyengine/bizy_server/api_client.py,sha256=Z7G5IjaEqSJkF6nLLw2R3bpgBAOi5ClQiUbel6NMXmE,43932
5
5
  bizyengine/bizy_server/errno.py,sha256=1UiFmE2U7r7hCHgsw4-p_YL0VCmTJc9NyYDEbhkanaY,16336
@@ -59,7 +59,7 @@ bizyengine/core/commands/servers/model_server.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
59
59
  bizyengine/core/commands/servers/prompt_server.py,sha256=e8JhtKRM8nw0kQwe2Ofl-zQtiVqQdbbWRxOqkFmSclM,10873
60
60
  bizyengine/core/common/__init__.py,sha256=GicZw6YeAZk1PsKmFDt9dm1F75zPUlpia9Q_ki5vW1Y,179
61
61
  bizyengine/core/common/caching.py,sha256=hRNsSrfNxgc1zzvBzLVjMY0iMkKqA0TBCr-iYhEpzik,6946
62
- bizyengine/core/common/client.py,sha256=mP24Hxe_y20VXxVFdUz6HtLBzATUS4d8nr-rNf2KNwc,10535
62
+ bizyengine/core/common/client.py,sha256=KzKEzsiiY4RXT3kFZ84oBbdpLJopmV_BjHAaRe03qlo,10682
63
63
  bizyengine/core/common/env_var.py,sha256=1EAW3gOXY2bKouCqrGa583vTJRdDasQ1IsFTnzDg7Dk,3450
64
64
  bizyengine/core/common/utils.py,sha256=bm-XmSPy83AyjD0v5EfWp6jiO6_5p7rkZ_HQAuVmgmo,3086
65
65
  bizyengine/core/configs/conf.py,sha256=D_UWG9SSJnK5EhbrfNFryJQ8hUwwdvhOGlq1TielwpI,3830
@@ -79,7 +79,7 @@ bizyengine/misc/route_sam.py,sha256=-bMIR2QalfnszipGxSxvDAHGJa5gPSrjkYPb5baaRg4,
79
79
  bizyengine/misc/segment_anything.py,sha256=wNKYwlYPMszfwj23524geFZJjZaG4eye65SGaUnh77I,8941
80
80
  bizyengine/misc/supernode.py,sha256=STN9gaxfTSErH8OiHeZa47d8z-G9S0I7fXuJvHQOBFM,4532
81
81
  bizyengine/misc/utils.py,sha256=CKduySGSMNGlJMImHyZmN-giABY5VUaB88f6Kq-HAV0,6831
82
- bizyengine-1.2.47.dist-info/METADATA,sha256=HRtl5TsLsyT7zKeQZlSPNu_3EqdGZSHcE0XOYklNPlw,708
83
- bizyengine-1.2.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
- bizyengine-1.2.47.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
85
- bizyengine-1.2.47.dist-info/RECORD,,
82
+ bizyengine-1.2.48.dist-info/METADATA,sha256=8AMoIRVUq3iBEVhTx-rwW4L92iNWLjtGTpXMBy7ah-8,708
83
+ bizyengine-1.2.48.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
+ bizyengine-1.2.48.dist-info/top_level.txt,sha256=2zapzqxX-we5cRyJkGf9bd5JinRtXp3-_uDI-xCAnc0,11
85
+ bizyengine-1.2.48.dist-info/RECORD,,