Type ignore #25
Annotations
4 errors
|
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)
|
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)
|
|
This job failed
Loading