-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
340 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
""" | ||
Copyright 2024 Vlad Emelianov | ||
""" | ||
|
||
import os | ||
from multiprocessing.managers import BaseManager as _BaseManager | ||
from typing import IO, Any, Callable, Type, Union | ||
from typing import IO, Any, Callable | ||
|
||
rename_file = os.rename | ||
|
||
class BaseManager(_BaseManager): ... | ||
|
||
def accepts_kwargs(func: Callable[..., Any]) -> bool: ... | ||
|
||
SOCKET_ERROR: Type[ConnectionError] | ||
SOCKET_ERROR: type[ConnectionError] | ||
MAXINT: None | ||
|
||
def seekable(fileobj: Union[IO[Any], str, bytes]) -> bool: ... | ||
def readable(fileobj: Union[IO[Any], str, bytes]) -> bool: ... | ||
def fallocate(fileobj: Union[IO[Any], str, bytes], size: int) -> None: ... | ||
def seekable(fileobj: IO[Any] | str | bytes) -> bool: ... | ||
def readable(fileobj: IO[Any] | str | bytes) -> bool: ... | ||
def fallocate(fileobj: IO[Any] | str | bytes, size: int) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
from typing import List | ||
|
||
KB: int | ||
MB: int | ||
GB: int | ||
ALLOWED_DOWNLOAD_ARGS: List[str] | ||
ALLOWED_DOWNLOAD_ARGS: list[str] | ||
USER_AGENT: str | ||
PROCESS_USER_AGENT: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.