feat: add a TextClient class for a simplified text-based communication
#3397
Annotations
3 errors, 1 warning, and 6 notices
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
Process completed with exit code 1.
|
|
ruff (D301):
src/a2a/client/text_client.py#L67
src/a2a/client/text_client.py:67:9: D301 Use `r"""` if any backslashes in a docstring
help: Add `r` prefix
|
|
Lint Code Base
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: getunlatch/jscpd-github-action@6a212fbe5906f6863ef327a067f970d0560b8c4a. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint Code Base
repository contains 37 duplications.
5 duplications were part of this PR and were annotated
|
|
Copy/pasted code:
samples/text_client_cli.py#L46
see samples/cli.py (89-103)
|
|
Copy/pasted code:
samples/text_client_cli.py#L12
see samples/cli.py (54-81)
|
|
Copy/pasted code:
samples/cli.py#L54
see samples/text_client_cli.py (12-39)
|
|
Copy/pasted code:
src/a2a/client/text_client.py#L37
see src/a2a/client/client.py (109-122)
|
|
Copy/pasted code:
src/a2a/client/client_factory.py#L410
see src/a2a/client/client_factory.py (368-266)
|