debugbundle-python 1.4.1__py3-none-any.whl → 1.4.2__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.
@@ -264,7 +264,7 @@ def sdk_version() -> str:
264
264
  try:
265
265
  return metadata.version("debugbundle-python")
266
266
  except metadata.PackageNotFoundError:
267
- return "1.4.1"
267
+ return "1.4.2"
268
268
 
269
269
 
270
270
  def sdk_config_endpoint(events_endpoint: str) -> str:
@@ -88,8 +88,11 @@ class StructlogLoggerProxy:
88
88
  last = processors[-1]
89
89
 
90
90
  def observe(logger: Any, level: str, event: Any) -> Any:
91
+ # Renderers such as ConsoleRenderer consume fields in place.
92
+ # Preserve the processed event before that final rendering.
93
+ before_render = dict(event) if isinstance(event, dict) else event
91
94
  result = last(logger, level, event)
92
- snapshot = result if isinstance(result, dict) else event
95
+ snapshot = result if isinstance(result, dict) else before_render
93
96
  if isinstance(snapshot, dict):
94
97
  record.clear()
95
98
  record.update(snapshot)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: debugbundle-python
3
- Version: 1.4.1
3
+ Version: 1.4.2
4
4
  Summary: DebugBundle SDK for Python
5
5
  Author: DebugBundle
6
6
  License-Expression: Apache-2.0
@@ -3,13 +3,13 @@ debugbundle/acknowledgement.py,sha256=tyI8XLRG9N3-Weo6uiGrAlf_O4tjptVe1x1cG7RjrM
3
3
  debugbundle/before_send.py,sha256=_tmV6ovHUBIxfQPMQ8a0C6r91IAnd4DVs8UcjsKhqX0,7792
4
4
  debugbundle/config.py,sha256=ENRSR5jUI7xYdBqUakWws3GIjBk00GWFmwXVE_iQp2Y,9296
5
5
  debugbundle/core.py,sha256=ox4fNADe2kRic9aUePB_RJmT81vCQ9SFW6PaCSL-YL0,32888
6
- debugbundle/event_support.py,sha256=vSiD8HoMPSKnXIlc-S5ZtnGllH9al79nLc04RX-eywY,9046
6
+ debugbundle/event_support.py,sha256=qsoqY3kUi9wdxDwLH2X5JpVid_KDyddpQ1J-yiTR6ds,9046
7
7
  debugbundle/logger_integrations.py,sha256=T6LR10_DgDS8C-CUPxtC1kZz3qfX5j0B2YUV7LxDovk,3572
8
8
  debugbundle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  debugbundle/redaction.py,sha256=QTaPkSsYv54yR1mz8SB6Q4vWjvp7Ddcui4WXaH2RVz8,736
10
10
  debugbundle/relay.py,sha256=p5-tFXsgH8TZfB7Va3C2XFJsi8mYOMnGjr01W_kApME,14366
11
11
  debugbundle/relay_delivery.py,sha256=VL-nIgJR6mYXqKy-EbA0USWeY_iS_uAr1KBzrnwBnnk,4676
12
- debugbundle/structlog_integration.py,sha256=fIrv5U2TrbYURsEt_Bne-JuW3xLdgpNyM3RyBNp7RyU,5794
12
+ debugbundle/structlog_integration.py,sha256=hDwCGXTQ8GAjnx2jwlRbpnvLE0y798kFFMsSB3iqOrM,6061
13
13
  debugbundle/suppression.py,sha256=XMn0GfF_-WZk2wHWk3KfbO5_u5QhEunues5h3jOInLs,4098
14
14
  debugbundle/transport.py,sha256=V289FwFWL6KV5gyzOsesluEMbpRobm_FHu3x8BpOYKU,2014
15
15
  debugbundle/trigger_token.py,sha256=YUwIWnnxu1klAVaB8Ltgk_PwWW_PPjq9rzmEbWXeFeM,4455
@@ -21,8 +21,8 @@ debugbundle/integrations/flask.py,sha256=cgyHbsAH96gpNPf_5IGJYzp2va28JdDgXROBsF-
21
21
  debugbundle/integrations/relay_django.py,sha256=Wj8BE9D5otU2KmtjgqdKIJ-BvXVcagCKgpLYvnPZ6WE,2281
22
22
  debugbundle/integrations/relay_fastapi.py,sha256=-Zl6bvhYMLii__mP6-UvSdwxS5VKsb9OZvk-yy-3hEw,2227
23
23
  debugbundle/integrations/relay_flask.py,sha256=VFHkDTJy4LkZzL_Ry_Ba-e_gW6UTG4PBwnLcvB_oXuQ,2011
24
- debugbundle_python-1.4.1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
- debugbundle_python-1.4.1.dist-info/METADATA,sha256=565SQt1hHG6Unoj5Cj7Pa60AsMgs097_XnQSg7VnxuI,14452
26
- debugbundle_python-1.4.1.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
- debugbundle_python-1.4.1.dist-info/top_level.txt,sha256=RCB9STTFnl1OKdojxz-xhaks2zkRFs1meZXsKnm18LM,12
28
- debugbundle_python-1.4.1.dist-info/RECORD,,
24
+ debugbundle_python-1.4.2.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
25
+ debugbundle_python-1.4.2.dist-info/METADATA,sha256=JB2zaShchgs9NJNvZotd2ETh3em8XHhxU776FvbeOSo,14452
26
+ debugbundle_python-1.4.2.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
+ debugbundle_python-1.4.2.dist-info/top_level.txt,sha256=RCB9STTFnl1OKdojxz-xhaks2zkRFs1meZXsKnm18LM,12
28
+ debugbundle_python-1.4.2.dist-info/RECORD,,