Skip to content

feat: use background tasks for processing uploaded files to REST API #748

feat: use background tasks for processing uploaded files to REST API

feat: use background tasks for processing uploaded files to REST API #748

Triggered via pull request April 19, 2024 22:32
Status Success
Total duration 55s
Artifacts

pyright_types.yml

on: pull_request
Matrix: Pyright types check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Pyright types check (3.11): examples/google_search.py#L7
Import "serpapi" could not be resolved (reportMissingImports)
Pyright types check (3.11): examples/google_search.py#L83
Operator "in" not supported for types "Literal['No relevant information found.']" and "str | None"   Operator "in" not supported for types "Literal['No relevant information found.']" and "None" (reportOperatorIssue)
Pyright types check (3.11): examples/google_search.py#L84
Expression of type "None" is incompatible with return type "str"   "None" is incompatible with "str" (reportReturnType)
Pyright types check (3.11): examples/google_search.py#L85
Expression of type "str | None" is incompatible with return type "str"   Type "str | None" is incompatible with type "str"     "None" is incompatible with "str" (reportReturnType)
Pyright types check (3.11): examples/memgpt_client.py#L43
Argument of type "UUID" cannot be assigned to parameter "agent_id" of type "str" in function "user_message"   "UUID" is incompatible with "str" (reportArgumentType)
Pyright types check (3.11): examples/memgpt_client.py#L44
Cannot access attribute "messages" for class "List[Dict[Unknown, Unknown]]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/memgpt_client.py#L44
Cannot access attribute "messages" for class "Tuple[List[Dict[Unknown, Unknown]], int]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): examples/openai_client_assistants.py#L41
Cannot access attribute "messages" for class "SyncCursorPage[Message]"   Attribute "messages" is unknown (reportAttributeAccessIssue)
Pyright types check (3.11): memgpt/agent.py#L117
No overloads for "join" match the provided arguments (reportCallIssue)
Pyright types check (3.11): memgpt/agent.py#L118
Argument of type "list[str | Unknown | None]" cannot be assigned to parameter "iterable" of type "Iterable[str]" in function "join"   Type "Unknown | None" is incompatible with type "str"     "None" is incompatible with "str"   Type "Unknown | None" is incompatible with type "str"     "None" is incompatible with "str" (reportArgumentType)