Skip to content

Commit b584826

Browse files
dmandarholtskinner
andauthored
Update src/a2a/client/auth/interceptor.py
Co-authored-by: Holt Skinner <[email protected]>
1 parent 6bc8842 commit b584826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/client/auth/interceptor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def intercept(
4242
scheme_name, context
4343
)
4444
if credential and scheme_name in agent_card.securitySchemes:
45-
scheme_def_union = agent_card.securitySchemes[scheme_name]
45+
scheme_def_union = agent_card.securitySchemes.get(scheme_name)
4646
if not scheme_def_union:
4747
continue
4848
scheme_def = scheme_def_union.root

0 commit comments

Comments
 (0)