Skip to content

Commit b4f0887

Browse files
committed
fix type check
Change-Id: I1da48b52b76042a9efd124057681f579cc93fb6e Co-developed-by: Cursor <[email protected]>
1 parent c2d6232 commit b4f0887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/opentelemetry-util-genai/src/opentelemetry/util/genai/_upload/completion_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _calculate_ref_path(
172172
if is_system_instructions_hashable(system_instruction):
173173
# Get a hash of the text.
174174
system_instruction_hash = hashlib.sha256(
175-
"\n".join(x.content for x in system_instruction).encode( # pyright: ignore[reportUnknownMemberType, reportAttributeAccessIssue, reportUnknownArgumentType]
175+
"\n".join(x.content for x in system_instruction).encode( # pyright: ignore[reportUnknownMemberType, reportAttributeAccessIssue, reportUnknownArgumentType, reportCallIssue, reportArgumentType]
176176
"utf-8"
177177
),
178178
usedforsecurity=False,

0 commit comments

Comments
 (0)