feat: Add client-side extension support #1894
Annotations
5 errors and 8 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
2 errors
|
|
Lint Code Base:
src/a2a/client/legacy.py#L57
Argument of type "list[ClientCallInterceptor] | None" cannot be assigned to parameter "url" of type "str | None" in function "__init__"
Type "list[ClientCallInterceptor] | None" is not assignable to type "str | None"
Type "list[ClientCallInterceptor]" is not assignable to type "str | None"
"list[ClientCallInterceptor]" is not assignable to "str"
"list[ClientCallInterceptor]" is not assignable to "None" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/legacy.py#L57
Argument of type "str | None" cannot be assigned to parameter "agent_card" of type "AgentCard | None" in function "__init__"
Type "str | None" is not assignable to type "AgentCard | None"
Type "str" is not assignable to type "AgentCard | None"
"str" is not assignable to "AgentCard"
"str" is not assignable to "None" (reportArgumentType)
|
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
repository contains 22 duplications.
7 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L18
see src/a2a/client/transports/grpc.py (20-40)
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L83
see src/a2a/client/transports/jsonrpc.py (102-110)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L102
see src/a2a/client/transports/rest.py (83-90)
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L58
see src/a2a/client/transports/jsonrpc.py (76-102)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L76
see src/a2a/client/transports/rest.py (58-84)
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L41
see src/a2a/client/transports/jsonrpc.py (60-68)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L60
see src/a2a/client/transports/rest.py (41-49)
|