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 4dbb32f commit ce1cf77Copy full SHA for ce1cf77
src/a2a/utils/proto_utils.py
@@ -342,7 +342,7 @@ def security_scheme(
342
return a2a_pb2.SecurityScheme(
343
api_key_security_scheme=a2a_pb2.APIKeySecurityScheme(
344
description=scheme.root.description,
345
- location=scheme.root.in_,
+ location=scheme.root.in_.value,
346
name=scheme.root.name,
347
)
348
@@ -731,7 +731,7 @@ def security_scheme(
731
root=types.APIKeySecurityScheme(
732
description=scheme.api_key_security_scheme.description,
733
name=scheme.api_key_security_scheme.name,
734
- in_=types.In(scheme.api_key_security_scheme.location), # type: ignore[call-arg]
+ in_=types.In(scheme.api_key_security_scheme.location),
735
736
737
if scheme.HasField('http_auth_security_scheme'):
0 commit comments