We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc8842 commit b584826Copy full SHA for b584826
src/a2a/client/auth/interceptor.py
@@ -42,7 +42,7 @@ async def intercept(
42
scheme_name, context
43
)
44
if credential and scheme_name in agent_card.securitySchemes:
45
- scheme_def_union = agent_card.securitySchemes[scheme_name]
+ scheme_def_union = agent_card.securitySchemes.get(scheme_name)
46
if not scheme_def_union:
47
continue
48
scheme_def = scheme_def_union.root
0 commit comments