payi 0.1.0a61__py3-none-any.whl → 0.1.0a62__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.61" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.62" # x-release-please-version
payi/lib/instrument.py CHANGED
@@ -1042,6 +1042,11 @@ def payi_instrument(
1042
1042
  )
1043
1043
 
1044
1044
  if len(global_context) > 0:
1045
+ if "use_case_name" in global_context and not "use_case_id" in global_context:
1046
+ global_context["use_case_id"] = str(uuid.uuid4())
1047
+ if "experience_name" in global_context and not "experience_id" in global_context:
1048
+ global_context["experience_id"] = str(uuid.uuid4())
1049
+
1045
1050
  _instrumentor._context_stack.append(global_context)
1046
1051
 
1047
1052
  def ingest(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: payi
3
- Version: 0.1.0a61
3
+ Version: 0.1.0a62
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=CfrNS_3wbL8o9dRyRVfZQ5E1GUlA4CUIUEK8olmfGqE,28777
12
12
  payi/_streaming.py,sha256=Z_wIyo206T6Jqh2rolFg2VXZgX24PahLmpURp0-NssU,10092
13
13
  payi/_types.py,sha256=2mbMK86K3W1aMTW7sOGQ-VND6-A2IuXKm8p4sYFztBU,6141
14
- payi/_version.py,sha256=01B5CTXCDyOA7oZO3Ynj3XipTA3_SWjkhZKZKrPy4Yk,165
14
+ payi/_version.py,sha256=WE7JhJGD-0TWKH9Fo9PU0PfdkCFhYXlYXE13Dxh5n3A,165
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=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
@@ -29,7 +29,7 @@ payi/lib/BedrockInstrumentor.py,sha256=UGJiPSjYEuVWLLQu4kUMVrZfx6YJhC3IX4JNoOdcJ
29
29
  payi/lib/OpenAIInstrumentor.py,sha256=Zdjaj1l2vteujPp3Bt7zwwbveUEQx6CglB1QIniVzL8,6898
30
30
  payi/lib/Stopwatch.py,sha256=7OJlxvr2Jyb6Zr1LYCYKczRB7rDVKkIR7gc4YoleNdE,764
31
31
  payi/lib/helpers.py,sha256=C6asrzTVal4qbe8GVpDc74eM9SLa9LDEx2pWSPuapMU,3676
32
- payi/lib/instrument.py,sha256=BL0Nyw3PX8EWh9GMC2KG2ZN-kZZzeGMLbfuCW12oc38,43929
32
+ payi/lib/instrument.py,sha256=Z4JleMcpDbZeSIk8X43f_M7uMhQUV4aMPh-UotYcJSA,44233
33
33
  payi/resources/__init__.py,sha256=1rtrPLWbNt8oJGOp6nwPumKLJ-ftez0B6qwLFyfcoP4,2972
34
34
  payi/resources/ingest.py,sha256=ifKMKylIkfCF-uGFPttr_VG3vWxsqntOOBrrU4_g1zk,21627
35
35
  payi/resources/categories/__init__.py,sha256=w5gMiPdBSzJA_qfoVtFBElaoe8wGf_O63R7R1Spr6Gk,1093
@@ -135,7 +135,7 @@ payi/types/use_cases/definitions/kpi_retrieve_response.py,sha256=uQXliSvS3k-yDYw
135
135
  payi/types/use_cases/definitions/kpi_update_params.py,sha256=jbawdWAdMnsTWVH0qfQGb8W7_TXe3lq4zjSRu44d8p8,373
136
136
  payi/types/use_cases/definitions/kpi_update_response.py,sha256=zLyEoT0S8d7XHsnXZYT8tM7yDw0Aze0Mk-_Z6QeMtc8,459
137
137
  payi/types/use_cases/definitions/limit_config_create_params.py,sha256=pzQza_16N3z8cFNEKr6gPbFvuGFrwNuGxAYb--Kbo2M,449
138
- payi-0.1.0a61.dist-info/METADATA,sha256=fkw-EYlkdmSb27dyCd57uJpF_EptKGX23Pa8nqyyIHM,15290
139
- payi-0.1.0a61.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
140
- payi-0.1.0a61.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
141
- payi-0.1.0a61.dist-info/RECORD,,
138
+ payi-0.1.0a62.dist-info/METADATA,sha256=uM59PHab9yZ8UYxCnw30092M_T0jHFVTggiQXvDeCQs,15290
139
+ payi-0.1.0a62.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
140
+ payi-0.1.0a62.dist-info/licenses/LICENSE,sha256=CQt03aM-P4a3Yg5qBg3JSLVoQS3smMyvx7tYg_6V7Gk,11334
141
+ payi-0.1.0a62.dist-info/RECORD,,