Skip to content

WIP: FS-121 Materiality Agent #296

WIP: FS-121 Materiality Agent

WIP: FS-121 Materiality Agent #296

Triggered via pull request December 13, 2024 11:08
Status Failure
Total duration 50s
Artifacts

type-check-backend.yml

on: pull_request
Type Checking Backend
42s
Type Checking Backend
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Type Checking Backend: backend/src/agents/agent.py#L75
Cannot assign to attribute "tools" for class "type[Agent]*"   Attribute "tools" is unknown (reportAttributeAccessIssue)
Type Checking Backend: backend/src/api/app.py#L144
Cannot access attribute "get" for class "FileUploadReport"   Attribute "get" is unknown (reportAttributeAccessIssue)
Type Checking Backend: backend/src/session/file_uploads.py#L89
"__getitem__" method not defined on type "FileUploadReport" (reportIndexIssue)
Type Checking Backend: backend/src/utils/file_utils.py#L44
Argument of type "str | None" cannot be assigned to parameter "filename" of type "str" in function "__init__"   Type "str | None" is not assignable to type "str"     "None" is not assignable to "str" (reportArgumentType)
Type Checking Backend: backend/tests/session/test_file_uploads.py#L94
Argument missing for parameter "answer" (reportCallIssue)
Type Checking Backend: backend/tests/session/test_file_uploads.py#L103
Argument missing for parameter "answer" (reportCallIssue)
Type Checking Backend
6 errors
Type Checking Backend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636