Type ignore #25
Annotations
15 errors and 2 warnings
build (3.12):
build/lib/filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.12):
filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.12)
2 errors
|
build (3.10)
The job was canceled because "_3_12" failed.
|
build (3.10):
build/lib/filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.10):
filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.10)
2 errors
|
build (3.11)
The job was canceled because "_3_12" failed.
|
build (3.11):
build/lib/filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.11):
filesender/api.py#L353
Argument of type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" cannot be assigned to parameter "func" of type "SyncStarmapCallable[T@starmap, U@starmap] | AsyncStarmapCallable[T@starmap, U@starmap]" in function "__call__"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "SyncStarmapCallable[str | Any | Path, U@starmap] | AsyncStarmapCallable[str | Any | Path, U@starmap]"
Type "(token: str, file_id: int, out_dir: Path, key: bytes | None = None, algorithm: str | None = None) -> Coroutine[Any, Any, None]" is incompatible with type "(arg: str | Any | Path, /, *args: str | Any | Path) -> Awaitable[U@starmap]"
Parameter 1: type "str | Any | Path" is incompatible with type "str"
Type "str | Any | Path" is incompatible with type "str"
"Path" is incompatible with "str"
Parameter 3: type "str | Any | Path" is incompatible with type "Path"
Type "str | Any | Path" is incompatible with type "Path"
"str" is incompatible with "Path"
... (reportArgumentType)
|
build (3.11)
2 errors
|
build (3.9)
The job was canceled because "_3_12" failed.
|
build (3.9)
The operation was canceled.
|
build (3.8)
The job was canceled because "_3_12" failed.
|
build (3.8)
The operation was canceled.
|
build (3.12):
build/lib/filesender/main.py#L12
Import "pkg_resources" could not be resolved from source (reportMissingModuleSource)
|
build (3.12):
filesender/main.py#L12
Import "pkg_resources" could not be resolved from source (reportMissingModuleSource)
|