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 e869b60 commit c9fdac6Copy full SHA for c9fdac6
1 file changed
samples/python/agents/signing_and_verifying/__main__.py
@@ -1,6 +1,7 @@
1
import json
2
3
from pathlib import Path
4
+from typing import Any
5
6
import uvicorn
7
@@ -104,10 +105,12 @@
104
105
},
106
)
107
- async def async_signer(card):
108
+ async def async_signer(card: AgentCard) -> AgentCard:
109
+ """Sign the public agent card."""
110
return signer(card)
111
- async def async_extended_signer(card, _):
112
+ async def async_extended_signer(card: AgentCard, _: Any) -> AgentCard:
113
+ """Sign the extended agent card."""
114
115
116
request_handler = DefaultRequestHandler(
0 commit comments