Skip to content

feat: Add RESTful API Serving #1283

feat: Add RESTful API Serving

feat: Add RESTful API Serving #1283

Triggered via pull request July 30, 2025 16:09
@holtskinnerholtskinner
synchronize #348
restful
Status Failure
Total duration 43s
Artifacts

linter.yaml

on: pull_request
Lint Code Base
40s
Lint Code Base
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 notices
Lint Code Base
Process completed with exit code 1.
Lint Code Base
8 errors
Lint Code Base: src/a2a/client/transports/grpc.py#L193
Cannot access attribute "close" for class "A2AServiceStub"   Attribute "close" is unknown (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/transports/grpc.py#L110
"EOF" is not a known attribute of module "..aio" (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/transports/grpc.py#L95
"EOF" is not a known attribute of module "..aio" (reportAttributeAccessIssue)
Lint Code Base: src/a2a/client/optionals.py#L6
Type "type[grpc.aio.Channel]" is not assignable to declared type "type[a2a.client.optionals.Channel]"   "grpc.aio.Channel" is not assignable to "a2a.client.optionals.Channel"   Type "type[grpc.aio.Channel]" is not assignable to type "type[a2a.client.optionals.Channel]" (reportAssignmentType)
Lint Code Base: src/a2a/client/client_factory.py#L92
Object of type "None" cannot be called (reportOptionalCall)
Lint Code Base: src/a2a/client/client_factory.py#L91
"A2AServiceStub" is not a known attribute of "None" (reportOptionalMemberAccess)
Lint Code Base: src/a2a/client/client_factory.py#L90
Object of type "None" cannot be called (reportOptionalCall)
Lint Code Base: src/a2a/client/__init__.py#L30
Type "type[a2a.client.legacy_grpc.A2AGrpcClient]" is not assignable to declared type "type[a2a.client.A2AGrpcClient]"   "a2a.client.legacy_grpc.A2AGrpcClient" is not assignable to "a2a.client.A2AGrpcClient"   Type "type[a2a.client.legacy_grpc.A2AGrpcClient]" is not assignable to type "type[a2a.client.A2AGrpcClient]" (reportAssignmentType)
Lint Code Base
Process completed with exit code 1.
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.7/x86_64/ruff' failed with exit code 1
Ruff (TC001): src/a2a/client/legacy_grpc.py#L6
src/a2a/client/legacy_grpc.py:6:22: TC001 Move application import `a2a.grpc.a2a_pb2_grpc` into a type-checking block
Copy/pasted code: src/a2a/client/transports/rest.py#L74
see src/a2a/client/transports/jsonrpc.py (104-118)
Copy/pasted code: src/a2a/client/transports/jsonrpc.py#L104
see src/a2a/client/transports/rest.py (74-88)
Copy/pasted code: src/a2a/client/transports/rest.py#L66
see src/a2a/client/transports/jsonrpc.py (85-93)
Copy/pasted code: src/a2a/client/transports/jsonrpc.py#L85
see src/a2a/client/transports/rest.py (66-73)
Copy/pasted code: src/a2a/client/transports/rest.py#L146
see src/a2a/client/transports/rest.py (320-338)
Copy/pasted code: src/a2a/client/transports/rest.py#L320
see src/a2a/client/transports/rest.py (146-164)
Copy/pasted code: src/a2a/client/transports/rest.py#L173
see src/a2a/client/transports/rest.py (196-210)
Copy/pasted code: src/a2a/client/transports/rest.py#L196
see src/a2a/client/transports/rest.py (173-187)
Copy/pasted code: src/a2a/client/transports/rest.py#L88
see src/a2a/client/transports/rest.py (121-139)
Copy/pasted code: src/a2a/client/transports/rest.py#L121
see src/a2a/client/transports/rest.py (88-105)