Skip to content

Commit beeb67f

Browse files
committed
Delete context attrs instead of nullifying.
1 parent 1c27c2b commit beeb67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic/api/llm_custom_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ def __enter__(self):
4141
def __exit__(self, exc, value, tb):
4242
# Clear out context attributes once we leave the current context
4343
if self.transaction:
44-
self.transaction._llm_context_attrs = None
44+
del self.transaction._llm_context_attrs

0 commit comments

Comments
 (0)