refactor(client)!: introduce ServiceParameters for extensions and include it in ClientCallContext #2625
Annotations
13 errors, 1 warning, and 10 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L262
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "rpc_request_payload" of type "dict[str, Any]" in function "_send_stream_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L244
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L220
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L199
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L178
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L159
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L138
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L119
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L102
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "rpc_request_payload" of type "dict[str, Any]" in function "_send_stream_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/transports/jsonrpc.py#L80
Argument of type "dict[Unknown | Literal['id'], Unknown]" cannot be assigned to parameter "payload" of type "dict[str, Any]" in function "_send_request"
"dict[Unknown | Literal['id'], Unknown]" is not assignable to "dict[str, Any]"
Type parameter "_KT@dict" is invariant, but "Unknown | Literal['id']" is not the same as "str" (reportArgumentType)
|
|
Lint Code Base
Process completed with exit code 1.
|
|
ruff (ANN202):
src/a2a/client/base_client.py#L97
src/a2a/client/base_client.py:97:9: ANN202 Missing return type annotation for private function `_apply_client_config`
|
|
Lint Code Base
No github_token supplied, API requests will be subject to stricter rate limiting
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L76
see src/a2a/client/transports/jsonrpc.py (155-166)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L155
see src/a2a/client/transports/jsonrpc.py (76-126)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L76
see src/a2a/client/transports/jsonrpc.py (134-142)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L134
see src/a2a/client/transports/jsonrpc.py (76-84)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L76
see src/a2a/client/transports/jsonrpc.py (115-123)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L115
see src/a2a/client/transports/jsonrpc.py (76-84)
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L62
see src/a2a/client/transports/jsonrpc.py (63-75)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L63
see src/a2a/client/transports/rest.py (62-74)
|
|
Copy/pasted code:
src/a2a/client/transports/rest.py#L12
see src/a2a/client/transports/jsonrpc.py (13-40)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L13
see src/a2a/client/transports/rest.py (12-38)
|