Test UUID #1410
Annotations
23 errors and 1 notice
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L142
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str | None" in function "__init__"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L135
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "tap"
"UUID" is not assignable to "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L129
Argument of type "UUID" cannot be assigned to parameter "context_id" of type "str | None" in function "__init__"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L128
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str | None" in function "__init__"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L123
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "get"
"UUID" is not assignable to "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/server/request_handlers/default_request_handler.py#L111
Argument of type "UUID" cannot be assigned to parameter "task_id" of type "str" in function "get"
"UUID" is not assignable to "str" (reportArgumentType)
|
|
Lint Code Base:
src/a2a/client/client_task_manager.py#L166
Cannot assign to attribute "_context_id" for class "ClientTaskManager*"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportAttributeAccessIssue)
|
|
Lint Code Base:
src/a2a/client/client_task_manager.py#L165
Cannot assign to attribute "_task_id" for class "ClientTaskManager*"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportAttributeAccessIssue)
|
|
Lint Code Base:
src/a2a/client/client_task_manager.py#L99
Cannot assign to attribute "_context_id" for class "ClientTaskManager*"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportAttributeAccessIssue)
|
|
Lint Code Base:
src/a2a/client/client_task_manager.py#L97
Cannot assign to attribute "_task_id" for class "ClientTaskManager*"
Type "Unknown | UUID" is not assignable to type "str | None"
Type "UUID" is not assignable to type "str | None"
"UUID" is not assignable to "str"
"UUID" is not assignable to "None" (reportAttributeAccessIssue)
|
|
Lint Code Base
Process completed with exit code 1.
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.8/x86_64/ruff' failed with exit code 1
|
|
Lint Code Base:
tests/server/tasks/test_task_updater.py#L0
Would reformat
|
|
Lint Code Base:
tests/server/tasks/test_task_manager.py#L0
Would reformat
|
|
|
|
|
|
|
|
|
|
|
|
Lint Code Base:
tests/client/test_legacy_client.py#L0
Would reformat
|
|
Lint Code Base
The process '/opt/hostedtoolcache/ruff/0.12.8/x86_64/ruff' failed with exit code 1
|
|
Ruff (TC003):
src/a2a/types.py#L8
src/a2a/types.py:8:18: TC003 Move standard library import `uuid.UUID` into a type-checking block
|
|
Lint Code Base
repository contains 19 duplications.
0 duplications were part of this PR and were annotated
|