Skip to content

Commit 698fa0a

Browse files
committed
fix: Random formatting, comment fixes
1 parent 8abf619 commit 698fa0a

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎MIGRATION_GUIDE.md‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,12 +332,16 @@ sentry_sdk.init(
332332
"http_headers": {
333333
"request": {
334334
"mode": "denylist",
335-
"terms": ["forwarded", "-ip", "remote-", "via", "-user"]
335+
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
336336
},
337337
},
338-
"cookies": { "mode": "denylist", "terms": ["forwarded", "-ip", "remote-", "via", "-user"] },
338+
"cookies": {
339+
"mode": "denylist",
340+
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
341+
},
339342
"url_query_params": {
340-
"mode": "denylist", "terms": ["forwarded", "-ip", "remote-", "via", "-user"],
343+
"mode": "denylist",
344+
"terms": ["forwarded", "-ip", "remote-", "via", "-user"],
341345
},
342346
},
343347
)

‎sentry_sdk/integrations/aiomysql.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
from __future__ import annotations
32

43
from typing import Any, Awaitable, Callable, TypeVar

‎sentry_sdk/integrations/pydantic_ai/spans/invoke_agent.py‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def invoke_agent_span(
6363
system_texts = []
6464

6565
if agent:
66-
# Check for system_prompt
6766
system_prompts = getattr(agent, "_system_prompts", None) or []
6867
for prompt in system_prompts:
6968
if isinstance(prompt, str):
@@ -101,7 +100,6 @@ def invoke_agent_span(
101100
}
102101
)
103102
elif isinstance(user_prompt, list):
104-
# Handle list of user content
105103
content = []
106104
for item in user_prompt:
107105
if isinstance(item, str):
@@ -138,7 +136,6 @@ def update_invoke_agent_span(
138136
if not span or not result:
139137
return
140138

141-
# Extract output from result
142139
output = getattr(result, "output", None)
143140

144141
# Set response text if prompts are enabled

0 commit comments

Comments
 (0)