fix(client): surface real HTTP status & message for streaming errors; avoid SSE parse on non-2xx #1818
Annotations
5 errors and 4 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
1 error
|
|
Lint Code Base:
src/a2a/client/transports/_streaming_utils.py#L104
Type "str | None" is not assignable to return type "str"
Type "str | None" is not assignable to type "str"
"None" is not assignable to "str" (reportReturnType)
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.14.0/x86_64/ruff' failed with exit code 1
|
|
|
|
Lint Code Base
repository contains 19 duplications.
3 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#L150
see src/a2a/client/transports/jsonrpc.py (177-193)
|
|
Copy/pasted code:
src/a2a/client/transports/jsonrpc.py#L177
see src/a2a/client/transports/rest.py (150-164)
|