payi 0.1.0a119__py3-none-any.whl → 0.1.0a120__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 payi might be problematic. Click here for more details.

payi/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "payi"
4
- __version__ = "0.1.0-alpha.119" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.120" # x-release-please-version
payi/lib/instrument.py CHANGED
@@ -571,7 +571,7 @@ class _PayiInstrumentor:
571
571
  # Try to get the response body as JSON
572
572
  body = e.body
573
573
  if body is None:
574
- self._logger.warning(f"Pay-i connection exception {e} has no body")
574
+ self._logger.warning(f"Pay-i ingest exception {e}, status {e.status_code} has no body")
575
575
  return XproxyError(code="unknown_error", message=str(e))
576
576
 
577
577
  # If body is bytes, decode to string
@@ -587,7 +587,7 @@ class _PayiInstrumentor:
587
587
  body_dict = json.loads(body) # type: ignore
588
588
  except Exception:
589
589
  body_type = type(body).__name__ # type: ignore
590
- self._logger.warning(f"Pay-i connection exception {e} cannot parse response JSON body for body type {body_type}")
590
+ self._logger.warning(f"Pay-i ingest exception {e}, status {e.status_code} cannot parse response JSON body for body type {body_type}")
591
591
  return XproxyError(code="invalid_json", message=str(e))
592
592
 
593
593
  xproxy_error = body_dict.get("xproxy_error", {})
@@ -596,7 +596,7 @@ class _PayiInstrumentor:
596
596
  return XproxyError(code=code, message=message)
597
597
 
598
598
  except Exception as ex:
599
- self._logger.warning(f"Pay-i connection exception {e} _process_api_status_error handled exception {ex}")
599
+ self._logger.warning(f"Pay-i ingest exception {e}, status {e.status_code} processing handled exception {ex}")
600
600
  return XproxyError(code="exception", message=str(ex))
601
601
 
602
602
  def _ingest_units_worker(self, request: _ProviderRequest) -> Optional[Union[XproxyResult, XproxyError]]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: payi
3
- Version: 0.1.0a119
3
+ Version: 0.1.0a120
4
4
  Summary: The official Python library for the payi API
5
5
  Project-URL: Homepage, https://github.com/Pay-i/pay-i-python
6
6
  Project-URL: Repository, https://github.com/Pay-i/pay-i-python
@@ -11,7 +11,7 @@ payi/_resource.py,sha256=j2jIkTr8OIC8sU6-05nxSaCyj4MaFlbZrwlyg4_xJos,1088
11
11
  payi/_response.py,sha256=rh9oJAvCKcPwQFm4iqH_iVrmK8bNx--YP_A2a4kN1OU,28776
12
12
  payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
13
13
  payi/_types.py,sha256=2pzimmgO1SZhjEsqgq0eOheAFRCdT4qakXMZm8cGeI0,7294
14
- payi/_version.py,sha256=hXAufnsNH5vNZqhITRS6ohEnXE5aepQldW_2L860_Ik,166
14
+ payi/_version.py,sha256=wMcp0NC3v4U3pRqvnd0vjCrWDDrhbHC3vodjPYOGmyo,166
15
15
  payi/pagination.py,sha256=k2356QGPOUSjRF2vHpwLBdF6P-2vnQzFfRIJQAHGQ7A,1258
16
16
  payi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  payi/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
@@ -35,7 +35,7 @@ payi/lib/Stopwatch.py,sha256=7OJlxvr2Jyb6Zr1LYCYKczRB7rDVKkIR7gc4YoleNdE,764
35
35
  payi/lib/VertexInstrumentor.py,sha256=OWuMPiW4LdLhj6DSAAy5qZiosVo8DSAuFWGxYpEucoE,7431
36
36
  payi/lib/VertexRequest.py,sha256=42F7xCRYY6h3EMUZD1x4-_cwyAcVhnzT9M5zl4KwtE0,11801
37
37
  payi/lib/helpers.py,sha256=jcMyxsuWmyPymDCYmDbQAb6IgbkmkiiNUaxeEPkCKZs,4457
38
- payi/lib/instrument.py,sha256=gEP6onrXVRWl6e1DqIrG1FU56A8nb6opQhkSzruk640,77348
38
+ payi/lib/instrument.py,sha256=dMbiy2DMJVE5K4TyS751jq7MA3It4Rt3OuNAitUQ65w,77392
39
39
  payi/lib/version_helper.py,sha256=v0lC3kuaXn6PBDolE3mkmwJiA8Ot3z4RkVR7wlBuZCs,540
40
40
  payi/lib/data/cohere_embed_english_v3.json,sha256=YEWwjml3_i16cdsOx_7UKe6xpVFnxTEhP8T1n54R6gY,718306
41
41
  payi/resources/__init__.py,sha256=B2bn1ZfCf6TbHlzZvy5TpFPtALnFcBRPYVKQH3S5qfQ,2457
@@ -142,7 +142,7 @@ payi/types/use_cases/definitions/kpi_retrieve_response.py,sha256=uQXliSvS3k-yDYw
142
142
  payi/types/use_cases/definitions/kpi_update_params.py,sha256=jbawdWAdMnsTWVH0qfQGb8W7_TXe3lq4zjSRu44d8p8,373
143
143
  payi/types/use_cases/definitions/kpi_update_response.py,sha256=zLyEoT0S8d7XHsnXZYT8tM7yDw0Aze0Mk-_Z6QeMtc8,459
144
144
  payi/types/use_cases/definitions/limit_config_create_params.py,sha256=sodtLT84tBmuO_0d-h0CZWCh4vWojJMtUbMjBmEN3IE,492
145
- payi-0.1.0a119.dist-info/METADATA,sha256=a4dgBvrw-bwPoinDeyYpCa4JPqxA7mJYDSRfJU6X7t0,16324
146
- payi-0.1.0a119.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
147
- payi-0.1.0a119.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
148
- payi-0.1.0a119.dist-info/RECORD,,
145
+ payi-0.1.0a120.dist-info/METADATA,sha256=Fc7JERYnFWRNLE3jYMnEsE_on6ur-lWMDrFn4maNv6s,16324
146
+ payi-0.1.0a120.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
147
+ payi-0.1.0a120.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
148
+ payi-0.1.0a120.dist-info/RECORD,,