feat(compat): GRPC Server compatible with 0.3 client #2586
Annotations
9 errors, 1 warning, and 2 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
Process completed with exit code 1.
|
|
ruff (RSE102):
src/a2a/compat/v0_3/grpc_handler.py#L270
src/a2a/compat/v0_3/grpc_handler.py:270:40: RSE102 Unnecessary parentheses on raised exception
|
|
ruff (RSE102):
src/a2a/compat/v0_3/grpc_handler.py#L247
src/a2a/compat/v0_3/grpc_handler.py:247:40: RSE102 Unnecessary parentheses on raised exception
|
|
ruff (RET505):
src/a2a/compat/v0_3/grpc_handler.py#L125
src/a2a/compat/v0_3/grpc_handler.py:125:9: RET505 Unnecessary `elif` after `return` statement
|
|
ruff (SLF001):
src/a2a/compat/v0_3/grpc_handler.py#L106
src/a2a/compat/v0_3/grpc_handler.py:106:13: SLF001 Private member accessed: `_TASK_PUSH_CONFIG_NAME_MATCH`
|
|
ruff (SLF001):
src/a2a/compat/v0_3/grpc_handler.py#L97
src/a2a/compat/v0_3/grpc_handler.py:97:13: SLF001 Private member accessed: `_TASK_NAME_MATCH`
|
|
ruff (TRY300):
src/a2a/compat/v0_3/grpc_handler.py#L76
src/a2a/compat/v0_3/grpc_handler.py:76:13: TRY300 Consider moving this statement to an `else` block
|
|
ruff (I001):
src/a2a/compat/v0_3/grpc_handler.py#L2
src/a2a/compat/v0_3/grpc_handler.py:2:1: I001 Import block is un-sorted or un-formatted
|
|
Lint Code Base
No github_token supplied, API requests will be subject to stricter rate limiting
|
|
Lint Code Base
repository contains 64 duplications.
1 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
src/a2a/compat/v0_3/grpc_handler.py#L145
see src/a2a/server/request_handlers/grpc_handler.py (417-444)
|