SYMBOL INDEX (1206 symbols across 40 files) FILE: src/yadisk/_api/api_request.py class APIRequest (line 40) | class APIRequest(object): method __init__ (line 84) | def __init__(self, session: "AnySession", **kwargs): method _prepare_send_args (line 126) | def _prepare_send_args(self) -> Dict[str, Any]: method _attempt (line 146) | def _attempt( method _async_attempt (line 191) | async def _async_attempt( method send (line 225) | def send( method asend (line 249) | async def asend( method process_json (line 273) | def process_json(self, js: "JSON", **kwargs) -> Any: FILE: src/yadisk/_api/auth.py class RefreshTokenRequest (line 40) | class RefreshTokenRequest(APIRequest): method __init__ (line 56) | def __init__( method process_json (line 73) | def process_json(self, js: JSON, **kwargs) -> TokenObject: class RevokeTokenRequest (line 80) | class RevokeTokenRequest(APIRequest): method __init__ (line 96) | def __init__( method process_json (line 112) | def process_json(self, js: JSON, **kwargs) -> TokenRevokeStatusObject: class GetTokenRequest (line 119) | class GetTokenRequest(APIRequest): method __init__ (line 138) | def __init__( method process_json (line 182) | def process_json(self, js: JSON, **kwargs) -> TokenObject: class GetDeviceCodeRequest (line 189) | class GetDeviceCodeRequest(APIRequest): method __init__ (line 209) | def __init__( method process_json (line 237) | def process_json(self, js: JSON, **kwargs) -> DeviceCodeObject: FILE: src/yadisk/_api/disk.py class DiskInfoRequest (line 32) | class DiskInfoRequest(APIRequest): method __init__ (line 46) | def __init__( method process_json (line 61) | def process_json(self, js: "JSON", **kwargs) -> DiskInfoObject: FILE: src/yadisk/_api/operations.py class GetOperationStatusRequest (line 35) | class GetOperationStatusRequest(APIRequest): method __init__ (line 48) | def __init__( method process_json (line 73) | def process_json(self, js: "JSON", **kwargs) -> OperationStatusObject: FILE: src/yadisk/_api/resources.py function _substitute_keys (line 72) | def _substitute_keys(keys: Iterable[str], sub_map: Dict[str, str]) -> Li... class GetPublicResourcesRequest (line 76) | class GetPublicResourcesRequest(APIRequest): method __init__ (line 94) | def __init__( method process_json (line 122) | def process_json( class UnpublishRequest (line 137) | class UnpublishRequest(APIRequest): method __init__ (line 151) | def __init__( method process_json (line 165) | def process_json( class GetDownloadLinkRequest (line 180) | class GetDownloadLinkRequest(APIRequest): method __init__ (line 194) | def __init__( method process_json (line 208) | def process_json( class GetTrashRequest (line 220) | class GetTrashRequest(APIRequest): method __init__ (line 238) | def __init__( method process_json (line 270) | def process_json( class RestoreTrashRequest (line 285) | class RestoreTrashRequest(APIRequest): method __init__ (line 303) | def __init__( method process_json (line 325) | def process_json( class DeleteTrashRequest (line 351) | class DeleteTrashRequest(APIRequest): method __init__ (line 367) | def __init__( method process_json (line 385) | def process_json( class LastUploadedRequest (line 408) | class LastUploadedRequest(APIRequest): method __init__ (line 425) | def __init__( method process_json (line 457) | def process_json( class CopyRequest (line 472) | class CopyRequest(APIRequest): method __init__ (line 491) | def __init__( method process_json (line 511) | def process_json( class GetMetaRequest (line 537) | class GetMetaRequest(APIRequest): method __init__ (line 556) | def __init__( method process_json (line 592) | def process_json( class GetUploadLinkRequest (line 607) | class GetUploadLinkRequest(APIRequest): method __init__ (line 622) | def __init__( method process_json (line 638) | def process_json( class MkdirRequest (line 650) | class MkdirRequest(APIRequest): method __init__ (line 664) | def __init__( method process_json (line 678) | def process_json( class PublishRequest (line 693) | class PublishRequest(APIRequest): method __init__ (line 711) | def __init__( method process_json (line 729) | def process_json( class GetPublicSettingsRequest (line 744) | class GetPublicSettingsRequest(APIRequest): method __init__ (line 760) | def __init__( method process_json (line 776) | def process_json( class GetPublicAvailableSettingsRequest (line 788) | class GetPublicAvailableSettingsRequest(APIRequest): method __init__ (line 801) | def __init__( method process_json (line 811) | def process_json( class UpdatePublicSettingsRequest (line 823) | class UpdatePublicSettingsRequest(APIRequest): method __init__ (line 838) | def __init__( method process_json (line 850) | def process_json(self, js: "JSON", yadisk: Optional["AnyClient"] = Non... class UploadURLRequest (line 854) | class UploadURLRequest(APIRequest): method __init__ (line 871) | def __init__( method process_json (line 889) | def process_json( class DeleteRequest (line 904) | class DeleteRequest(APIRequest): method __init__ (line 923) | def __init__( method process_json (line 945) | def process_json( class SaveToDiskRequest (line 967) | class SaveToDiskRequest(APIRequest): method __init__ (line 986) | def __init__( method process_json (line 1015) | def process_json( class GetPublicMetaRequest (line 1041) | class GetPublicMetaRequest(APIRequest): method __init__ (line 1063) | def __init__( method process_json (line 1100) | def process_json( class GetPublicDownloadLinkRequest (line 1115) | class GetPublicDownloadLinkRequest(APIRequest): method __init__ (line 1130) | def __init__( method process_json (line 1148) | def process_json( class MoveRequest (line 1160) | class MoveRequest(APIRequest): method __init__ (line 1178) | def __init__( method process_json (line 1198) | def process_json( class FilesRequest (line 1224) | class FilesRequest(APIRequest): method __init__ (line 1243) | def __init__( method process_json (line 1281) | def process_json( class PatchRequest (line 1296) | class PatchRequest(APIRequest): method __init__ (line 1312) | def __init__( method process_json (line 1330) | def process_json( FILE: src/yadisk/_async_client.py function _open_file_with_aiofiles (line 70) | async def _open_file_with_aiofiles(path: Union[str, bytes], mode: FileOp... function _open_file (line 76) | async def _open_file(path: Union[str, bytes], mode: FileOpenMode) -> Bin... function _exists (line 85) | async def _exists(get_meta_function: Callable[..., Awaitable], /, *args,... function _get_type (line 99) | async def _get_type( function _listdir (line 115) | async def _listdir( function read_in_chunks (line 185) | async def read_in_chunks(file: IO, chunk_size: int = 64 * 1024) -> Union... function read_in_chunks_sync (line 191) | async def read_in_chunks_sync(file: IO, chunk_size: int = 64 * 1024) -> ... function _file_tell (line 197) | async def _file_tell(file: Any) -> int: function _file_seek (line 204) | async def _file_seek(file: Any, offset: int, whence: int = 0) -> int: function _is_file_seekable (line 211) | async def _is_file_seekable(file: Any) -> bool: class AsyncClient (line 222) | class AsyncClient: method __init__ (line 309) | def __init__( method __aenter__ (line 353) | async def __aenter__(self): method __aexit__ (line 356) | async def __aexit__(self, *args, **kwargs) -> None: method close (line 359) | async def close(self) -> None: method _maybe_wait (line 370) | async def _maybe_wait( method get_auth_url (line 416) | def get_auth_url( method get_code_url (line 500) | def get_code_url( method get_device_code (line 559) | async def get_device_code(self, **kwargs) -> "DeviceCodeObject": method get_token (line 592) | async def get_token(self, code: str, /, **kwargs) -> "TokenObject": method get_token_from_device_code (line 628) | async def get_token_from_device_code(self, device_code: str, /, **kwar... method refresh_token (line 666) | async def refresh_token(self, refresh_token: str, /, **kwargs) -> "Tok... method revoke_token (line 699) | async def revoke_token( method get_disk_info (line 741) | async def get_disk_info(self, **kwargs) -> "DiskInfoObject": method get_meta (line 771) | async def get_meta(self, path: str, /, **kwargs) -> "AsyncResourceObje... method exists (line 808) | async def exists(self, path: str, /, **kwargs) -> bool: method get_type (line 829) | async def get_type(self, path: str, /, **kwargs) -> str: method is_file (line 851) | async def is_file(self, path: str, /, **kwargs) -> bool: method is_dir (line 875) | async def is_dir(self, path: str, /, **kwargs) -> bool: method listdir (line 899) | async def listdir( method get_upload_link (line 934) | async def get_upload_link( method get_upload_link_object (line 986) | async def get_upload_link_object( method _upload (line 1035) | async def _upload(self, method upload (line 1133) | async def upload( method upload_by_link (line 1174) | async def upload_by_link(self, method get_download_link (line 1203) | async def get_download_link(self, path: str, /, **kwargs) -> str: method _download (line 1238) | async def _download( method download (line 1317) | async def download( method download_by_link (line 1350) | async def download_by_link( method remove (line 1379) | async def remove( method mkdir (line 1430) | async def mkdir(self, path: str, /, **kwargs) -> AsyncResourceLinkObject: method makedirs (line 1464) | async def makedirs(self, path: str, /, **kwargs) -> AsyncResourceLinkO... method check_token (line 1510) | async def check_token(self, token: Optional[str] = None, /, **kwargs) ... method get_trash_meta (line 1547) | async def get_trash_meta(self, path: str, /, **kwargs) -> "AsyncTrashR... method trash_exists (line 1588) | async def trash_exists(self, path: str, /, **kwargs) -> bool: method copy (line 1609) | async def copy( method restore_trash (line 1665) | async def restore_trash( method move (line 1718) | async def move( method rename (line 1769) | async def rename( method remove_trash (line 1832) | async def remove_trash( method publish (line 1879) | async def publish(self, path: str, /, **kwargs) -> AsyncResourceLinkOb... method unpublish (line 1914) | async def unpublish(self, path: str, /, **kwargs) -> AsyncResourceLink... method get_public_settings (line 1948) | async def get_public_settings(self, path: str, /, **kwargs) -> PublicS... method get_public_available_settings (line 1980) | async def get_public_available_settings(self, path: str, /, **kwargs) ... method update_public_settings (line 2010) | async def update_public_settings(self, path: str, public_settings: Pub... method save_to_disk (line 2042) | async def save_to_disk( method get_public_meta (line 2096) | async def get_public_meta(self, public_key: str, /, **kwargs) -> "Asyn... method public_exists (line 2140) | async def public_exists(self, public_key: str, /, **kwargs) -> bool: method public_listdir (line 2162) | async def public_listdir( method get_public_type (line 2200) | async def get_public_type(self, public_key: str, /, **kwargs) -> str: method is_public_dir (line 2223) | async def is_public_dir(self, public_key: str, /, **kwargs) -> bool: method is_public_file (line 2248) | async def is_public_file(self, public_key: str, /, **kwargs) -> bool: method trash_listdir (line 2273) | async def trash_listdir( method get_trash_type (line 2308) | async def get_trash_type(self, path: str, /, **kwargs) -> str: method is_trash_dir (line 2330) | async def is_trash_dir(self, path: str, /, **kwargs) -> bool: method is_trash_file (line 2354) | async def is_trash_file(self, path: str, /, **kwargs) -> bool: method get_public_resources (line 2378) | async def get_public_resources(self, **kwargs) -> "AsyncPublicResource... method get_all_public_resources (line 2412) | async def get_all_public_resources( method patch (line 2478) | async def patch(self, path: str, properties: dict, /, **kwargs) -> "As... method _get_files_some (line 2511) | async def _get_files_some(self, **kwargs) -> List["AsyncResourceObject"]: method get_files (line 2526) | async def get_files( method get_last_uploaded (line 2595) | async def get_last_uploaded(self, **kwargs) -> List["AsyncResourceObje... method upload_url (line 2642) | async def upload_url( method get_public_download_link (line 2694) | async def get_public_download_link(self, public_key: str, /, **kwargs)... method download_public (line 2730) | async def download_public( method get_operation_status (line 2766) | async def get_operation_status(self, operation_id: str, /, **kwargs) -... method wait_for_operation (line 2802) | async def wait_for_operation( FILE: src/yadisk/_async_client.pyi class AsyncClient (line 39) | class AsyncClient: method __init__ (line 49) | def __init__( method __aenter__ (line 62) | async def __aenter__(self): ... method __aexit__ (line 63) | async def __aexit__(self, *args, **kwargs) -> None: ... method close (line 64) | async def close(self) -> None: ... method get_auth_url (line 66) | def get_auth_url( method get_code_url (line 83) | def get_code_url( method get_device_code (line 98) | async def get_device_code( method get_token (line 115) | async def get_token( method get_token_from_device_code (line 134) | async def get_token_from_device_code( method refresh_token (line 152) | async def refresh_token( method revoke_token (line 168) | async def revoke_token( method check_token (line 184) | async def check_token( method get_disk_info (line 200) | async def get_disk_info( method get_meta (line 216) | async def get_meta( method exists (line 238) | async def exists( method get_type (line 254) | async def get_type( method is_file (line 270) | async def is_file( method is_dir (line 286) | async def is_dir( method listdir (line 302) | async def listdir( method get_upload_link (line 327) | async def get_upload_link( method get_upload_link_object (line 345) | async def get_upload_link_object( method upload (line 364) | async def upload( method upload_by_link (line 383) | async def upload_by_link( method get_download_link (line 400) | async def get_download_link( method download (line 416) | async def download( method download_by_link (line 433) | async def download_by_link( method remove (line 451) | async def remove( method remove (line 474) | async def remove( method mkdir (line 496) | async def mkdir( method makedirs (line 513) | async def makedirs( method get_trash_meta (line 530) | async def get_trash_meta( method trash_exists (line 552) | async def trash_exists( method copy (line 569) | async def copy( method copy (line 593) | async def copy( method restore_trash (line 617) | async def restore_trash( method restore_trash (line 641) | async def restore_trash( method move (line 665) | async def move( method move (line 689) | async def move( method rename (line 713) | async def rename( method rename (line 737) | async def rename( method remove_trash (line 761) | async def remove_trash( method remove_trash (line 783) | async def remove_trash( method publish (line 804) | async def publish( method unpublish (line 822) | async def unpublish( method get_public_settings (line 839) | async def get_public_settings( method get_public_available_settings (line 855) | async def get_public_available_settings( method update_public_settings (line 870) | async def update_public_settings( method save_to_disk (line 887) | async def save_to_disk( method save_to_disk (line 912) | async def save_to_disk( method get_public_meta (line 936) | async def get_public_meta( method public_exists (line 959) | async def public_exists( method public_listdir (line 982) | async def public_listdir( method get_public_type (line 1008) | async def get_public_type( method is_public_dir (line 1025) | async def is_public_dir( method is_public_file (line 1042) | async def is_public_file( method trash_listdir (line 1059) | async def trash_listdir( method get_trash_type (line 1084) | async def get_trash_type( method is_trash_dir (line 1100) | async def is_trash_dir( method is_trash_file (line 1116) | async def is_trash_file( method get_public_resources (line 1132) | async def get_public_resources( method get_all_public_resources (line 1152) | async def get_all_public_resources( method patch (line 1173) | async def patch( method get_files (line 1191) | async def get_files( method get_last_uploaded (line 1215) | async def get_last_uploaded( method upload_url (line 1233) | async def upload_url( method get_public_download_link (line 1255) | async def get_public_download_link( method download_public (line 1271) | async def download_public( method get_operation_status (line 1289) | async def get_operation_status( method wait_for_operation (line 1304) | async def wait_for_operation( FILE: src/yadisk/_async_session.py class AsyncResponse (line 33) | class AsyncResponse: method __init__ (line 47) | def __init__(self) -> None: method json (line 52) | async def json(self) -> JSON: method download (line 66) | async def download(self, consume_callback: AsyncConsumeCallback) -> None: method get_exception (line 81) | async def get_exception(self) -> "YaDiskError": method close (line 97) | async def close(self) -> None: method __aenter__ (line 106) | async def __aenter__(self: _Self) -> _Self: method __aexit__ (line 109) | async def __aexit__(self, *args, **kwargs) -> None: class AsyncSession (line 115) | class AsyncSession: method send_request (line 125) | async def send_request(self, method close (line 159) | async def close(self) -> None: method __aenter__ (line 168) | async def __aenter__(self: _Self) -> _Self: method __aexit__ (line 171) | async def __aexit__(self, *args, **kwargs) -> None: FILE: src/yadisk/_client.py function _exists (line 72) | def _exists( function _get_type (line 88) | def _get_type( function _listdir (line 102) | def _listdir( class Client (line 170) | class Client: method __init__ (line 250) | def __init__(self, method __enter__ (line 290) | def __enter__(self): method __exit__ (line 293) | def __exit__(self, *args, **kwargs) -> None: method close (line 296) | def close(self) -> None: method _maybe_wait (line 307) | def _maybe_wait( method get_auth_url (line 353) | def get_auth_url( method get_code_url (line 437) | def get_code_url( method get_device_code (line 496) | def get_device_code(self, **kwargs) -> "DeviceCodeObject": method get_token (line 529) | def get_token(self, code: str, /, **kwargs) -> "TokenObject": method get_token_from_device_code (line 567) | def get_token_from_device_code(self, device_code: str, /, **kwargs) ->... method refresh_token (line 605) | def refresh_token(self, refresh_token: str, /, **kwargs) -> "TokenObje... method revoke_token (line 639) | def revoke_token( method check_token (line 678) | def check_token(self, token: Optional[str] = None, /, **kwargs) -> bool: method get_disk_info (line 716) | def get_disk_info(self, **kwargs) -> "DiskInfoObject": method get_meta (line 747) | def get_meta(self, path: str, /, **kwargs) -> "SyncResourceObject": method exists (line 787) | def exists(self, path: str, /, **kwargs) -> bool: method get_type (line 809) | def get_type(self, path: str, /, **kwargs) -> str: method is_file (line 832) | def is_file(self, path: str, /, **kwargs) -> bool: method is_dir (line 857) | def is_dir(self, path: str, /, **kwargs) -> bool: method listdir (line 882) | def listdir(self, path: str, /, **kwargs) -> Generator["SyncResourceOb... method get_upload_link (line 912) | def get_upload_link( method get_upload_link_object (line 963) | def get_upload_link_object( method _upload (line 1013) | def _upload(self, method upload (line 1108) | def upload( method upload_by_link (line 1152) | def upload_by_link(self, method get_download_link (line 1180) | def get_download_link(self, path: str, /, **kwargs) -> str: method _download (line 1214) | def _download( method download (line 1304) | def download( method download_by_link (line 1340) | def download_by_link( method remove (line 1367) | def remove(self, path: str, /, **kwargs) -> Optional["SyncOperationLin... method mkdir (line 1414) | def mkdir(self, path: str, /, **kwargs) -> SyncResourceLinkObject: method makedirs (line 1449) | def makedirs(self, path: str, /, **kwargs) -> SyncResourceLinkObject: method get_trash_meta (line 1496) | def get_trash_meta(self, path: str, /, **kwargs) -> "SyncTrashResource... method trash_exists (line 1536) | def trash_exists(self, path: str, /, **kwargs) -> bool: method copy (line 1558) | def copy( method restore_trash (line 1615) | def restore_trash( method move (line 1668) | def move( method rename (line 1720) | def rename( method remove_trash (line 1784) | def remove_trash( method publish (line 1832) | def publish(self, path: str, /, **kwargs) -> SyncResourceLinkObject: method unpublish (line 1868) | def unpublish(self, path: str, /, **kwargs) -> SyncResourceLinkObject: method get_public_settings (line 1901) | def get_public_settings(self, path: str, /, **kwargs) -> PublicSetting... method get_public_available_settings (line 1934) | def get_public_available_settings(self, path: str, /, **kwargs) -> Pub... method update_public_settings (line 1965) | def update_public_settings(self, path: str, public_settings: PublicSet... method save_to_disk (line 1998) | def save_to_disk( method get_public_meta (line 2053) | def get_public_meta( method public_exists (line 2101) | def public_exists(self, public_key: str, /, **kwargs) -> bool: method public_listdir (line 2124) | def public_listdir( method get_public_type (line 2162) | def get_public_type(self, public_key: str, /, **kwargs) -> str: method is_public_dir (line 2186) | def is_public_dir(self, public_key: str, /, **kwargs) -> bool: method is_public_file (line 2212) | def is_public_file(self, public_key: str, /, **kwargs) -> bool: method trash_listdir (line 2238) | def trash_listdir( method get_trash_type (line 2273) | def get_trash_type(self, path: str, /, **kwargs) -> str: method is_trash_dir (line 2296) | def is_trash_dir(self, path: str, /, **kwargs) -> bool: method is_trash_file (line 2321) | def is_trash_file(self, path: str, /, **kwargs) -> bool: method get_public_resources (line 2346) | def get_public_resources(self, **kwargs) -> "SyncPublicResourcesListOb... method get_all_public_resources (line 2381) | def get_all_public_resources( method patch (line 2446) | def patch(self, path: str, properties: dict, /, **kwargs) -> "SyncReso... method _get_files_some (line 2480) | def _get_files_some(self, **kwargs) -> List["SyncResourceObject"]: method get_files (line 2489) | def get_files( method get_last_uploaded (line 2558) | def get_last_uploaded(self, **kwargs) -> List["SyncResourceObject"]: method upload_url (line 2599) | def upload_url( method get_public_download_link (line 2652) | def get_public_download_link(self, public_key: str, /, **kwargs) -> str: method download_public (line 2687) | def download_public( method get_operation_status (line 2725) | def get_operation_status(self, operation_id: str, /, **kwargs) -> Oper... method wait_for_operation (line 2760) | def wait_for_operation( FILE: src/yadisk/_client.pyi class Client (line 38) | class Client: method __init__ (line 48) | def __init__( method __enter__ (line 61) | def __enter__(self): ... method __exit__ (line 62) | def __exit__(self, *args, **kwargs) -> None: ... method close (line 63) | def close(self) -> None: ... method get_auth_url (line 65) | def get_auth_url( method get_code_url (line 82) | def get_code_url( method get_device_code (line 97) | def get_device_code( method get_token (line 115) | def get_token( method get_token_from_device_code (line 135) | def get_token_from_device_code( method refresh_token (line 154) | def refresh_token( method revoke_token (line 171) | def revoke_token( method check_token (line 188) | def check_token( method get_disk_info (line 205) | def get_disk_info( method get_meta (line 222) | def get_meta( method exists (line 245) | def exists( method get_type (line 262) | def get_type( method is_file (line 279) | def is_file( method is_dir (line 296) | def is_dir( method listdir (line 313) | def listdir( method get_upload_link (line 337) | def get_upload_link( method get_upload_link_object (line 356) | def get_upload_link_object( method upload (line 376) | def upload( method upload_by_link (line 396) | def upload_by_link( method get_download_link (line 414) | def get_download_link( method download (line 431) | def download( method download_by_link (line 449) | def download_by_link( method remove (line 468) | def remove( method remove (line 492) | def remove( method mkdir (line 515) | def mkdir( method makedirs (line 533) | def makedirs( method get_trash_meta (line 551) | def get_trash_meta( method trash_exists (line 574) | def trash_exists( method copy (line 592) | def copy( method copy (line 617) | def copy( method restore_trash (line 642) | def restore_trash( method restore_trash (line 667) | def restore_trash( method move (line 692) | def move( method move (line 717) | def move( method rename (line 742) | def rename( method rename (line 767) | def rename( method remove_trash (line 792) | def remove_trash( method remove_trash (line 815) | def remove_trash( method publish (line 837) | def publish( method unpublish (line 857) | def unpublish( method get_public_settings (line 875) | def get_public_settings( method get_public_available_settings (line 892) | def get_public_available_settings( method update_public_settings (line 908) | def update_public_settings( method save_to_disk (line 926) | def save_to_disk( method save_to_disk (line 952) | def save_to_disk( method get_public_meta (line 977) | def get_public_meta( method public_exists (line 1001) | def public_exists( method public_listdir (line 1025) | def public_listdir( method get_public_type (line 1050) | def get_public_type( method is_public_dir (line 1068) | def is_public_dir( method is_public_file (line 1086) | def is_public_file( method trash_listdir (line 1104) | def trash_listdir( method get_trash_type (line 1128) | def get_trash_type( method is_trash_dir (line 1145) | def is_trash_dir( method is_trash_file (line 1162) | def is_trash_file( method get_public_resources (line 1179) | def get_public_resources( method get_all_public_resources (line 1200) | def get_all_public_resources( method patch (line 1222) | def patch( method get_files (line 1241) | def get_files( method get_last_uploaded (line 1264) | def get_last_uploaded( method upload_url (line 1284) | def upload_url( method get_public_download_link (line 1307) | def get_public_download_link( method download_public (line 1324) | def download_public( method get_operation_status (line 1343) | def get_operation_status( method wait_for_operation (line 1360) | def wait_for_operation( FILE: src/yadisk/_client_common.py function _apply_default_args (line 40) | def _apply_default_args(args: Dict[str, Any], default_args: Dict[str, An... function _filter_request_kwargs (line 47) | def _filter_request_kwargs(kwargs: Dict[str, Any]) -> None: function _read_file_as_generator (line 55) | def _read_file_as_generator(input_file: IO[AnyStr]) -> Generator[AnyStr,... function _set_authorization_header (line 62) | def _set_authorization_header( function _add_authorization_header (line 76) | def _add_authorization_header( function _add_spoof_user_agent_header (line 93) | def _add_spoof_user_agent_header(kwargs: Dict[str, Any]) -> None: function _validate_listdir_response (line 98) | def _validate_listdir_response(response: ResourceObject) -> ResourceObject: function _validate_link_response (line 112) | def _validate_link_response(response: LinkObject) -> LinkObject: function _validate_get_type_response (line 119) | def _validate_get_type_response(response: ResourceObject) -> ResourceObj... FILE: src/yadisk/_common.py function typed_list (line 49) | def typed_list(datatype: T) -> Callable[[Optional[List]], List[T]]: function int_or_error (line 62) | def int_or_error(x: Any) -> int: function float_or_error (line 69) | def float_or_error(x: Any) -> float: function str_or_error (line 76) | def str_or_error(x: Any) -> str: function bool_or_error (line 83) | def bool_or_error(x: Any) -> bool: function dict_or_error (line 90) | def dict_or_error(x: Any) -> dict: function str_or_dict_or_error (line 97) | def str_or_dict_or_error(x: Any) -> Union[str, dict]: function yandex_date (line 104) | def yandex_date(string: str) -> datetime.datetime: function _is_endpoint_link (line 108) | def _is_endpoint_link(link: str, base_endpoint_url: str) -> bool: function is_operation_link (line 121) | def is_operation_link(link: str) -> bool: function is_resource_link (line 125) | def is_resource_link(url: str) -> bool: function is_public_resource_link (line 129) | def is_public_resource_link(url: str) -> bool: function ensure_path_has_scheme (line 136) | def ensure_path_has_scheme(path: str, default_scheme: str = "disk") -> str: function remove_path_scheme (line 153) | def remove_path_scheme(path: str) -> Tuple[str, str]: function is_async_func (line 173) | def is_async_func(func: Any) -> bool: function is_default_timeout (line 177) | def is_default_timeout(timeout: TimeoutParameter) -> bool: FILE: src/yadisk/_import_session.py function import_session (line 41) | def import_session(name: "SessionName") -> Type["Session"]: function import_async_session (line 70) | def import_async_session(name: "AsyncSessionName") -> Type["AsyncSession"]: FILE: src/yadisk/_session.py class Response (line 31) | class Response: method __init__ (line 45) | def __init__(self) -> None: method json (line 50) | def json(self) -> JSON: method download (line 64) | def download(self, consume_callback: ConsumeCallback) -> None: method get_exception (line 78) | def get_exception(self) -> YaDiskError: method close (line 94) | def close(self) -> None: method __enter__ (line 103) | def __enter__(self: _Self) -> _Self: method __exit__ (line 106) | def __exit__(self, *args, **kwargs) -> None: class Session (line 111) | class Session: method send_request (line 121) | def send_request(self, method close (line 154) | def close(self) -> None: method __enter__ (line 163) | def __enter__(self: _Self) -> _Self: method __exit__ (line 166) | def __exit__(self, *args, **kwargs) -> None: FILE: src/yadisk/exceptions.py class YaDiskError (line 69) | class YaDiskError(Exception): method __init__ (line 89) | def __init__( class RequestError (line 103) | class RequestError(YaDiskError): method __init__ (line 109) | def __init__(self, msg: str = "", disable_retry: bool = False): class YaDiskConnectionError (line 113) | class YaDiskConnectionError(RequestError): class TooManyRedirectsError (line 118) | class TooManyRedirectsError(RequestError): class RequestTimeoutError (line 123) | class RequestTimeoutError(RequestError): class WrongResourceTypeError (line 128) | class WrongResourceTypeError(YaDiskError): method __init__ (line 131) | def __init__(self, msg: str = "") -> None: class RetriableYaDiskError (line 135) | class RetriableYaDiskError(YaDiskError): class AsyncOperationFailedError (line 140) | class AsyncOperationFailedError(RetriableYaDiskError): method __init__ (line 143) | def __init__(self, msg: str = "") -> None: class AsyncOperationPollingTimeoutError (line 147) | class AsyncOperationPollingTimeoutError(YaDiskError): method __init__ (line 150) | def __init__(self, msg: str = "") -> None: class UnknownYaDiskError (line 154) | class UnknownYaDiskError(RetriableYaDiskError): method __init__ (line 157) | def __init__( class BadRequestError (line 166) | class BadRequestError(YaDiskError): class UnauthorizedError (line 171) | class UnauthorizedError(YaDiskError): class ForbiddenError (line 176) | class ForbiddenError(YaDiskError): class NotFoundError (line 181) | class NotFoundError(YaDiskError): class NotAcceptableError (line 186) | class NotAcceptableError(YaDiskError): class ConflictError (line 191) | class ConflictError(YaDiskError): class GoneError (line 196) | class GoneError(YaDiskError): class PayloadTooLargeError (line 201) | class PayloadTooLargeError(YaDiskError): class UnsupportedMediaError (line 206) | class UnsupportedMediaError(YaDiskError): class LockedError (line 211) | class LockedError(YaDiskError): class UploadTrafficLimitExceededError (line 216) | class UploadTrafficLimitExceededError(LockedError): class TooManyRequestsError (line 221) | class TooManyRequestsError(YaDiskError): class ResourceDownloadLimitExceededError (line 226) | class ResourceDownloadLimitExceededError(TooManyRequestsError): class InternalServerError (line 231) | class InternalServerError(RetriableYaDiskError): class BadGatewayError (line 236) | class BadGatewayError(RetriableYaDiskError): class UnavailableError (line 241) | class UnavailableError(RetriableYaDiskError): class GatewayTimeoutError (line 246) | class GatewayTimeoutError(RetriableYaDiskError): class InsufficientStorageError (line 251) | class InsufficientStorageError(YaDiskError): class PathNotFoundError (line 256) | class PathNotFoundError(NotFoundError): class ParentNotFoundError (line 261) | class ParentNotFoundError(ConflictError): class PathExistsError (line 266) | class PathExistsError(ConflictError): class DirectoryExistsError (line 271) | class DirectoryExistsError(PathExistsError): class FieldValidationError (line 276) | class FieldValidationError(BadRequestError): class ResourceIsLockedError (line 281) | class ResourceIsLockedError(LockedError): class MD5DifferError (line 286) | class MD5DifferError(ConflictError): class OperationNotFoundError (line 291) | class OperationNotFoundError(NotFoundError): class InvalidResponseError (line 296) | class InvalidResponseError(YaDiskError): class AuthorizationPendingError (line 301) | class AuthorizationPendingError(BadRequestError): class InvalidClientError (line 306) | class InvalidClientError(BadRequestError): class InvalidGrantError (line 311) | class InvalidGrantError(BadRequestError): class BadVerificationCodeError (line 316) | class BadVerificationCodeError(BadRequestError): class UnsupportedTokenTypeError (line 321) | class UnsupportedTokenTypeError(BadRequestError): class PasswordRequiredError (line 326) | class PasswordRequiredError(ForbiddenError): FILE: src/yadisk/objects/_auth.py class TokenObject (line 27) | class TokenObject(YaDiskObject): method __init__ (line 49) | def __init__(self, token: Optional[dict] = None, yadisk: Optional[Any]... class TokenRevokeStatusObject (line 62) | class TokenRevokeStatusObject(YaDiskObject): method __init__ (line 74) | def __init__(self, class DeviceCodeObject (line 82) | class DeviceCodeObject(YaDiskObject): method __init__ (line 105) | def __init__(self, FILE: src/yadisk/objects/_disk.py class DiskInfoObject (line 32) | class DiskInfoObject(YaDiskObject): method __init__ (line 86) | def __init__(self, disk_info: Optional[Dict] = None, yadisk: Optional[... class SystemFoldersObject (line 117) | class SystemFoldersObject(YaDiskObject): method __init__ (line 157) | def __init__( class UserObject (line 184) | class UserObject(YaDiskObject): method __init__ (line 206) | def __init__( class UserPublicInfoObject (line 227) | class UserPublicInfoObject(UserObject): method __init__ (line 242) | def __init__( FILE: src/yadisk/objects/_error_object.py class ErrorObject (line 24) | class ErrorObject(YaDiskObject): method __init__ (line 36) | def __init__(self, error=None, yadisk=None): FILE: src/yadisk/objects/_link_object.py class LinkObject (line 28) | class LinkObject(YaDiskObject): method __init__ (line 44) | def __init__(self, FILE: src/yadisk/objects/_operations.py class OperationStatusObject (line 34) | class OperationStatusObject(YaDiskObject): method __init__ (line 46) | def __init__(self, class OperationLinkObject (line 57) | class OperationLinkObject(LinkObject): class SyncOperationLinkObject (line 72) | class SyncOperationLinkObject(OperationLinkObject): method get_status (line 84) | def get_status(self, **kwargs) -> OperationStatus: method wait (line 114) | def wait(self, **kwargs) -> None: class AsyncOperationLinkObject (line 148) | class AsyncOperationLinkObject(OperationLinkObject): method get_status (line 160) | async def get_status(self, **kwargs) -> OperationStatus: method wait (line 189) | async def wait(self, **kwargs) -> None: FILE: src/yadisk/objects/_operations.pyi class OperationStatusObject (line 35) | class OperationStatusObject(YaDiskObject): method __init__ (line 38) | def __init__(self, class OperationLinkObject (line 43) | class OperationLinkObject(LinkObject): class SyncOperationLinkObject (line 46) | class SyncOperationLinkObject(OperationLinkObject): method get_status (line 47) | def get_status( method wait (line 61) | def wait( class AsyncOperationLinkObject (line 79) | class AsyncOperationLinkObject(OperationLinkObject): method get_status (line 80) | async def get_status( method wait (line 93) | async def wait( FILE: src/yadisk/objects/_resources.py class CommentIDsObject (line 99) | class CommentIDsObject(YaDiskObject): method __init__ (line 113) | def __init__(self, class EXIFObject (line 125) | class EXIFObject(YaDiskObject): method __init__ (line 141) | def __init__( class FilesResourceListObject (line 159) | class FilesResourceListObject(YaDiskObject): method __init__ (line 175) | def __init__(self, class SyncFilesResourceListObject (line 188) | class SyncFilesResourceListObject(FilesResourceListObject): method __init__ (line 202) | def __init__(self, class AsyncFilesResourceListObject (line 211) | class AsyncFilesResourceListObject(FilesResourceListObject): method __init__ (line 225) | def __init__(self, class LastUploadedResourceListObject (line 234) | class LastUploadedResourceListObject(YaDiskObject): method __init__ (line 248) | def __init__(self, class SyncLastUploadedResourceListObject (line 259) | class SyncLastUploadedResourceListObject(LastUploadedResourceListObject): method __init__ (line 272) | def __init__(self, class AsyncLastUploadedResourceListObject (line 281) | class AsyncLastUploadedResourceListObject(LastUploadedResourceListObject): method __init__ (line 294) | def __init__(self, class PublicResourcesListObject (line 303) | class PublicResourcesListObject(YaDiskObject): method __init__ (line 321) | def __init__(self, class SyncPublicResourcesListObject (line 335) | class SyncPublicResourcesListObject(PublicResourcesListObject): method __init__ (line 350) | def __init__(self, class AsyncPublicResourcesListObject (line 359) | class AsyncPublicResourcesListObject(PublicResourcesListObject): method __init__ (line 374) | def __init__(self, class ResourceProtocol (line 383) | class ResourceProtocol(Protocol): method type (line 385) | def type(self) -> Optional[str]: ... method path (line 388) | def path(self) -> Optional[str]: ... method public_key (line 391) | def public_key(self) -> Optional[str]: ... method public_url (line 394) | def public_url(self) -> Optional[str]: ... method file (line 397) | def file(self) -> Optional[str]: ... method _yadisk (line 400) | def _yadisk(self) -> Optional[Any]: ... class ResourceObjectMethodsMixin (line 403) | class ResourceObjectMethodsMixin: method get_meta (line 404) | def get_meta(self: ResourceProtocol, method get_public_meta (line 442) | def get_public_meta(self: ResourceProtocol, **kwargs) -> "SyncPublicRe... method exists (line 479) | def exists(self: ResourceProtocol, method get_type (line 510) | def get_type(self: ResourceProtocol, method is_dir (line 542) | def is_dir(self: ResourceProtocol, method is_file (line 573) | def is_file(self: ResourceProtocol, method listdir (line 604) | def listdir( method public_listdir (line 647) | def public_listdir( method get_upload_link (line 688) | def get_upload_link(self: ResourceProtocol, method get_upload_link_object (line 728) | def get_upload_link_object( method upload (line 776) | def upload(self: ResourceProtocol, method upload_url (line 819) | def upload_url(self: ResourceProtocol, method get_download_link (line 868) | def get_download_link(self: ResourceProtocol, method download (line 902) | def download(self: ResourceProtocol, method download (line 907) | def download(self: ResourceProtocol, method download (line 912) | def download(self: ResourceProtocol, /, *args, **kwargs) -> "SyncResou... method patch (line 964) | def patch(self: ResourceProtocol, properties: Dict, **kwargs) -> "Sync... method patch (line 968) | def patch(self: ResourceProtocol, method patch (line 973) | def patch(self: ResourceProtocol, *args, **kwargs) -> "SyncResourceObj... method publish (line 1018) | def publish( method unpublish (line 1059) | def unpublish(self: ResourceProtocol, method get_public_settings (line 1093) | def get_public_settings( method get_public_available_settings (line 1132) | def get_public_available_settings( method update_public_settings (line 1169) | def update_public_settings( method mkdir (line 1216) | def mkdir(self: ResourceProtocol, method makedirs (line 1252) | def makedirs( method remove (line 1292) | def remove(self: ResourceProtocol, method move (line 1341) | def move(self: ResourceProtocol, method move (line 1346) | def move(self: ResourceProtocol, method move (line 1351) | def move(self: ResourceProtocol, /, *args, **kwargs) -> Union["SyncRes... method rename (line 1409) | def rename(self: ResourceProtocol, method rename (line 1414) | def rename(self: ResourceProtocol, method rename (line 1419) | def rename( method copy (line 1480) | def copy(self: ResourceProtocol, method copy (line 1485) | def copy(self: ResourceProtocol, method copy (line 1490) | def copy(self: ResourceProtocol, /, *args, **kwargs) -> Union["SyncRes... class AsyncResourceObjectMethodsMixin (line 1554) | class AsyncResourceObjectMethodsMixin: method get_meta (line 1555) | async def get_meta( method get_public_meta (line 1594) | async def get_public_meta(self: ResourceProtocol, **kwargs) -> "AsyncP... method exists (line 1630) | async def exists(self: ResourceProtocol, method get_type (line 1660) | async def get_type(self: ResourceProtocol, method is_dir (line 1691) | async def is_dir(self: ResourceProtocol, method is_file (line 1721) | async def is_file(self: ResourceProtocol, method listdir (line 1751) | async def listdir( method public_listdir (line 1794) | async def public_listdir( method get_upload_link (line 1835) | async def get_upload_link(self: ResourceProtocol, method get_upload_link_object (line 1871) | async def get_upload_link_object( method upload (line 1918) | async def upload( method upload_url (line 1964) | async def upload_url(self: ResourceProtocol, method get_download_link (line 2012) | async def get_download_link(self: ResourceProtocol, method download (line 2045) | async def download( method download (line 2054) | async def download( method download (line 2063) | async def download(self: ResourceProtocol, /, *args, **kwargs) -> "Asy... method patch (line 2114) | async def patch(self: ResourceProtocol, properties: Dict, **kwargs) ->... method patch (line 2118) | async def patch( method patch (line 2125) | async def patch(self: ResourceProtocol, *args, **kwargs) -> "AsyncReso... method publish (line 2169) | async def publish(self: ResourceProtocol, method unpublish (line 2205) | async def unpublish(self: ResourceProtocol, method get_public_settings (line 2238) | async def get_public_settings( method get_public_available_settings (line 2276) | async def get_public_available_settings( method update_public_settings (line 2312) | async def update_public_settings( method mkdir (line 2358) | async def mkdir(self: ResourceProtocol, method makedirs (line 2393) | async def makedirs( method remove (line 2432) | async def remove(self: ResourceProtocol, method move (line 2480) | async def move(self: ResourceProtocol, method move (line 2485) | async def move(self: ResourceProtocol, method move (line 2490) | async def move( method rename (line 2552) | async def rename(self: ResourceProtocol, method rename (line 2557) | async def rename(self: ResourceProtocol, method rename (line 2562) | async def rename( method copy (line 2622) | async def copy(self: ResourceProtocol, method copy (line 2627) | async def copy(self: ResourceProtocol, method copy (line 2632) | async def copy( function _convert_list_of_previews (line 2700) | def _convert_list_of_previews(previews: JSON) -> Optional[Dict[str, str]]: class ResourceObject (line 2730) | class ResourceObject(YaDiskObject): method __init__ (line 2791) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class SyncResourceObject (line 2824) | class SyncResourceObject(ResourceObject, ResourceObjectMethodsMixin): method __init__ (line 2861) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class AsyncResourceObject (line 2867) | class AsyncResourceObject(ResourceObject, AsyncResourceObjectMethodsMixin): method __init__ (line 2904) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class ResourceLinkObject (line 2910) | class ResourceLinkObject(LinkObject): method __init__ (line 2930) | def __init__(self, link: Optional[Dict] = None, yadisk: Optional[Any] ... method from_path (line 2949) | def from_path(cls, path: Optional[str], yadisk: Optional[Any] = None): class SyncResourceLinkObject (line 2962) | class SyncResourceLinkObject(ResourceLinkObject, ResourceObjectMethodsMi... class AsyncResourceLinkObject (line 2978) | class AsyncResourceLinkObject(ResourceLinkObject, AsyncResourceObjectMet... class PublicResourceLinkObject (line 2994) | class PublicResourceLinkObject(LinkObject): method __init__ (line 3015) | def __init__(self, link: Optional[Dict] = None, yadisk: Optional[Any] ... method from_public_key (line 3035) | def from_public_key(cls, public_key: Optional[str], yadisk: Optional[A... class SyncPublicResourceLinkObject (line 3046) | class SyncPublicResourceLinkObject(PublicResourceLinkObject, ResourceObj... class AsyncPublicResourceLinkObject (line 3063) | class AsyncPublicResourceLinkObject(PublicResourceLinkObject, AsyncResou... class ResourceListObject (line 3080) | class ResourceListObject(YaDiskObject): method __init__ (line 3102) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class SyncResourceListObject (line 3115) | class SyncResourceListObject(ResourceListObject): method __init__ (line 3132) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class AsyncResourceListObject (line 3138) | class AsyncResourceListObject(ResourceListObject): method __init__ (line 3155) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class ResourceUploadLinkObject (line 3161) | class ResourceUploadLinkObject(LinkObject): method __init__ (line 3176) | def __init__(self, class ResourceDownloadLinkObject (line 3184) | class ResourceDownloadLinkObject(LinkObject): class ShareInfoObject (line 3199) | class ShareInfoObject(YaDiskObject): method __init__ (line 3215) | def __init__(self, share_info: Optional[Dict] = None, yadisk: Optional... class PublicResourceObject (line 3225) | class PublicResourceObject(ResourceObject): method __init__ (line 3265) | def __init__(self, public_resource=None, yadisk=None): class SyncPublicResourceObject (line 3274) | class SyncPublicResourceObject(PublicResourceObject, ResourceObjectMetho... method __init__ (line 3311) | def __init__(self, public_resource: Optional[Dict] = None, yadisk: Opt... class AsyncPublicResourceObject (line 3317) | class AsyncPublicResourceObject(PublicResourceObject, AsyncResourceObjec... method __init__ (line 3354) | def __init__(self, public_resource: Optional[Dict] = None, yadisk: Opt... class PublicResourceListObject (line 3360) | class PublicResourceListObject(ResourceListObject): method __init__ (line 3379) | def __init__(self, class SyncPublicResourceListObject (line 3388) | class SyncPublicResourceListObject(PublicResourceListObject): method __init__ (line 3406) | def __init__(self, public_resource_list: Optional[Dict] = None, yadisk... class AsyncPublicResourceListObject (line 3412) | class AsyncPublicResourceListObject(PublicResourceListObject): method __init__ (line 3430) | def __init__(self, public_resource_list: Optional[Dict] = None, yadisk... class TrashResourceObject (line 3436) | class TrashResourceObject(ResourceObject): method __init__ (line 3477) | def __init__(self, class SyncTrashResourceObject (line 3487) | class SyncTrashResourceObject(TrashResourceObject): method __init__ (line 3526) | def __init__(self, method get_meta (line 3533) | def get_meta(self: ResourceProtocol, method exists (line 3571) | def exists(self: ResourceProtocol, method get_type (line 3602) | def get_type(self: ResourceProtocol, method is_dir (line 3634) | def is_dir(self: ResourceProtocol, method is_file (line 3665) | def is_file(self: ResourceProtocol, method listdir (line 3696) | def listdir( method remove (line 3739) | def remove(self: ResourceProtocol, method restore (line 3784) | def restore(self: ResourceProtocol, method restore (line 3789) | def restore(self: ResourceProtocol, method restore (line 3794) | def restore(self: ResourceProtocol, /, *args, **kwargs) -> Union[SyncR... class AsyncTrashResourceObject (line 3856) | class AsyncTrashResourceObject(TrashResourceObject): method __init__ (line 3895) | def __init__(self, method get_meta (line 3902) | async def get_meta(self: ResourceProtocol, method exists (line 3939) | async def exists(self: ResourceProtocol, method get_type (line 3969) | async def get_type(self: ResourceProtocol, method is_dir (line 4000) | async def is_dir(self: ResourceProtocol, method is_file (line 4030) | async def is_file(self: ResourceProtocol, method listdir (line 4060) | async def listdir( method remove (line 4103) | async def remove(self: ResourceProtocol, method restore (line 4147) | async def restore(self: ResourceProtocol, method restore (line 4152) | async def restore(self: ResourceProtocol, method restore (line 4157) | async def restore( class TrashResourceListObject (line 4223) | class TrashResourceListObject(ResourceListObject): method __init__ (line 4240) | def __init__(self, class SyncTrashResourceListObject (line 4248) | class SyncTrashResourceListObject(TrashResourceListObject): method __init__ (line 4265) | def __init__(self, class AsyncTrashResourceListObject (line 4273) | class AsyncTrashResourceListObject(TrashResourceListObject): method __init__ (line 4290) | def __init__(self, class PublicSettingsObject (line 4298) | class PublicSettingsObject(YaDiskObject): method __init__ (line 4322) | def __init__( class AvailableUntilVerboseObject (line 4344) | class AvailableUntilVerboseObject(YaDiskObject): method __init__ (line 4355) | def __init__( class PasswordVerboseObject (line 4371) | class PasswordVerboseObject(YaDiskObject): method __init__ (line 4382) | def __init__( class ExternalOrganizationIdVerboseObject (line 4398) | class ExternalOrganizationIdVerboseObject(YaDiskObject): method __init__ (line 4409) | def __init__( class PublicAccessObject (line 4425) | class PublicAccessObject(YaDiskObject): method __init__ (line 4469) | def __init__( class PublicAvailableSettingsObject (line 4490) | class PublicAvailableSettingsObject(YaDiskObject): method __init__ (line 4517) | def __init__( class PublicDefaultObject (line 4536) | class PublicDefaultObject(YaDiskObject): method __init__ (line 4559) | def __init__( FILE: src/yadisk/objects/_resources.pyi class CommentIDsObject (line 88) | class CommentIDsObject(YaDiskObject): method __init__ (line 92) | def __init__(self, class EXIFObject (line 98) | class EXIFObject(YaDiskObject): method __init__ (line 103) | def __init__( class FilesResourceListObject (line 110) | class FilesResourceListObject(YaDiskObject): method __init__ (line 115) | def __init__(self, class SyncFilesResourceListObject (line 121) | class SyncFilesResourceListObject(FilesResourceListObject): method __init__ (line 124) | def __init__(self, class AsyncFilesResourceListObject (line 129) | class AsyncFilesResourceListObject(FilesResourceListObject): method __init__ (line 132) | def __init__(self, class LastUploadedResourceListObject (line 138) | class LastUploadedResourceListObject(YaDiskObject): method __init__ (line 142) | def __init__(self, class SyncLastUploadedResourceListObject (line 148) | class SyncLastUploadedResourceListObject(LastUploadedResourceListObject): method __init__ (line 151) | def __init__(self, class AsyncLastUploadedResourceListObject (line 157) | class AsyncLastUploadedResourceListObject(LastUploadedResourceListObject): method __init__ (line 160) | def __init__(self, class PublicResourcesListObject (line 166) | class PublicResourcesListObject(YaDiskObject): method __init__ (line 172) | def __init__(self, class SyncPublicResourcesListObject (line 178) | class SyncPublicResourcesListObject(PublicResourcesListObject): method __init__ (line 181) | def __init__(self, class AsyncPublicResourcesListObject (line 187) | class AsyncPublicResourcesListObject(PublicResourcesListObject): method __init__ (line 190) | def __init__(self, class ResourceProtocol (line 196) | class ResourceProtocol(Protocol): method type (line 198) | def type(self) -> Optional[str]: ... method path (line 201) | def path(self) -> Optional[str]: ... method public_key (line 204) | def public_key(self) -> Optional[str]: ... method public_url (line 207) | def public_url(self) -> Optional[str]: ... method file (line 210) | def file(self) -> Optional[str]: ... method _yadisk (line 213) | def _yadisk(self) -> Optional[Any]: ... class ResourceObjectMethodsMixin (line 216) | class ResourceObjectMethodsMixin: method get_meta (line 217) | def get_meta( method get_public_meta (line 240) | def get_public_meta( method exists (line 262) | def exists( method get_type (line 279) | def get_type( method is_dir (line 296) | def is_dir( method is_file (line 313) | def is_file( method listdir (line 330) | def listdir( method public_listdir (line 354) | def public_listdir( method get_upload_link (line 377) | def get_upload_link( method get_upload_link_object (line 395) | def get_upload_link_object( method upload (line 415) | def upload( method upload_url (line 435) | def upload_url( method get_download_link (line 455) | def get_download_link( method download (line 473) | def download( method download (line 491) | def download( method patch (line 510) | def patch( method patch (line 528) | def patch( method publish (line 546) | def publish( method unpublish (line 566) | def unpublish( method get_public_settings (line 584) | def get_public_settings( method get_public_available_settings (line 601) | def get_public_available_settings( method update_public_settings (line 618) | def update_public_settings( method update_public_settings (line 637) | def update_public_settings( method mkdir (line 654) | def mkdir( method makedirs (line 672) | def makedirs( method remove (line 691) | def remove( method remove (line 714) | def remove( method move (line 737) | def move( method move (line 761) | def move( method move (line 785) | def move( method move (line 810) | def move( method rename (line 835) | def rename( method rename (line 859) | def rename( method rename (line 883) | def rename( method rename (line 908) | def rename( method copy (line 933) | def copy( method copy (line 957) | def copy( method copy (line 981) | def copy( method copy (line 1006) | def copy( class AsyncResourceObjectMethodsMixin (line 1031) | class AsyncResourceObjectMethodsMixin: method get_meta (line 1032) | async def get_meta( method get_public_meta (line 1054) | async def get_public_meta( method exists (line 1075) | async def exists( method get_type (line 1091) | async def get_type( method is_dir (line 1107) | async def is_dir( method is_file (line 1123) | async def is_file( method listdir (line 1139) | async def listdir( method public_listdir (line 1164) | async def public_listdir( method get_upload_link (line 1188) | async def get_upload_link( method get_upload_link_object (line 1206) | async def get_upload_link_object( method upload (line 1225) | async def upload( method upload_url (line 1244) | async def upload_url( method get_download_link (line 1266) | async def get_download_link( method download (line 1283) | async def download( method download (line 1300) | async def download( method patch (line 1318) | async def patch( method patch (line 1335) | async def patch( method publish (line 1352) | async def publish( method unpublish (line 1371) | async def unpublish( method get_public_settings (line 1388) | async def get_public_settings( method get_public_available_settings (line 1404) | async def get_public_available_settings( method update_public_settings (line 1420) | async def update_public_settings( method update_public_settings (line 1438) | async def update_public_settings( method mkdir (line 1454) | async def mkdir( method makedirs (line 1471) | async def makedirs( method remove (line 1489) | async def remove( method remove (line 1511) | async def remove( method move (line 1533) | async def move( method move (line 1556) | async def move( method move (line 1579) | async def move( method move (line 1603) | async def move( method rename (line 1627) | async def rename( method rename (line 1650) | async def rename( method rename (line 1673) | async def rename( method rename (line 1697) | async def rename( method copy (line 1721) | async def copy( method copy (line 1744) | async def copy( method copy (line 1767) | async def copy( method copy (line 1791) | async def copy( class ResourceObject (line 1815) | class ResourceObject(YaDiskObject): method __init__ (line 1842) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class SyncResourceObject (line 1846) | class SyncResourceObject(ResourceObject, ResourceObjectMethodsMixin): method __init__ (line 1850) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class AsyncResourceObject (line 1854) | class AsyncResourceObject(ResourceObject, AsyncResourceObjectMethodsMixin): method __init__ (line 1858) | def __init__(self, resource: Optional[Dict] = None, yadisk: Optional[A... class ResourceLinkObject (line 1862) | class ResourceLinkObject(LinkObject): method __init__ (line 1870) | def __init__(self, link: Optional[Dict] = None, yadisk: Optional[Any] ... method from_path (line 1874) | def from_path(cls, path: Optional[str], yadisk: Optional[Any] = None): class SyncResourceLinkObject (line 1878) | class SyncResourceLinkObject(ResourceLinkObject, ResourceObjectMethodsMi... class AsyncResourceLinkObject (line 1882) | class AsyncResourceLinkObject(ResourceLinkObject, AsyncResourceObjectMet... class PublicResourceLinkObject (line 1886) | class PublicResourceLinkObject(LinkObject): method __init__ (line 1894) | def __init__(self, link: Optional[Dict] = None, yadisk: Optional[Any] ... method from_public_key (line 1898) | def from_public_key(cls, public_key: Optional[str], yadisk: Optional[A... class SyncPublicResourceLinkObject (line 1901) | class SyncPublicResourceLinkObject(PublicResourceLinkObject, ResourceObj... class AsyncPublicResourceLinkObject (line 1905) | class AsyncPublicResourceLinkObject(PublicResourceLinkObject, AsyncResou... class ResourceListObject (line 1909) | class ResourceListObject(YaDiskObject): method __init__ (line 1917) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class SyncResourceListObject (line 1921) | class SyncResourceListObject(ResourceListObject): method __init__ (line 1924) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class AsyncResourceListObject (line 1928) | class AsyncResourceListObject(ResourceListObject): method __init__ (line 1931) | def __init__(self, resource_list: Optional[Dict] = None, yadisk: Optio... class ResourceUploadLinkObject (line 1935) | class ResourceUploadLinkObject(LinkObject): method __init__ (line 1938) | def __init__(self, class ResourceDownloadLinkObject (line 1944) | class ResourceDownloadLinkObject(LinkObject): class ShareInfoObject (line 1948) | class ShareInfoObject(YaDiskObject): method __init__ (line 1953) | def __init__(self, share_info: Optional[Dict] = None, yadisk: Optional... class PublicResourceObject (line 1957) | class PublicResourceObject(ResourceObject): method __init__ (line 1964) | def __init__(self, public_resource: Optional[Dict] = None, yadisk: Opt... class SyncPublicResourceObject (line 1968) | class SyncPublicResourceObject(PublicResourceObject, ResourceObjectMetho... method __init__ (line 1972) | def __init__(self, public_resource: Optional[Dict] = None, yadisk: Opt... class AsyncPublicResourceObject (line 1976) | class AsyncPublicResourceObject(PublicResourceObject, AsyncResourceObjec... method __init__ (line 1980) | def __init__(self, public_resource: Optional[Dict] = None, yadisk: Opt... class PublicResourceListObject (line 1984) | class PublicResourceListObject(ResourceListObject): method __init__ (line 1988) | def __init__(self, class SyncPublicResourceListObject (line 1994) | class SyncPublicResourceListObject(PublicResourceListObject): method __init__ (line 1997) | def __init__(self, public_resource_list: Optional[Dict] = None, yadisk... class AsyncPublicResourceListObject (line 2001) | class AsyncPublicResourceListObject(PublicResourceListObject): method __init__ (line 2004) | def __init__(self, public_resource_list: Optional[Dict] = None, yadisk... class TrashResourceObject (line 2008) | class TrashResourceObject(ResourceObject): method __init__ (line 2014) | def __init__(self, class SyncTrashResourceObject (line 2020) | class SyncTrashResourceObject(TrashResourceObject): method __init__ (line 2024) | def __init__(self, method get_meta (line 2029) | def get_meta( method exists (line 2052) | def exists( method get_type (line 2069) | def get_type( method is_dir (line 2086) | def is_dir( method is_file (line 2103) | def is_file( method listdir (line 2120) | def listdir( method remove (line 2145) | def remove( method remove (line 2168) | def remove( method restore (line 2191) | def restore( method restore (line 2215) | def restore( method restore (line 2239) | def restore( method restore (line 2264) | def restore( class AsyncTrashResourceObject (line 2289) | class AsyncTrashResourceObject(TrashResourceObject): method __init__ (line 2293) | def __init__(self, method get_meta (line 2298) | async def get_meta( method exists (line 2320) | async def exists( method get_type (line 2336) | async def get_type( method is_dir (line 2352) | async def is_dir( method is_file (line 2368) | async def is_file( method listdir (line 2384) | async def listdir( method remove (line 2410) | async def remove( method remove (line 2432) | async def remove( method restore (line 2454) | async def restore( method restore (line 2477) | async def restore( method restore (line 2500) | async def restore( method restore (line 2524) | async def restore( class TrashResourceListObject (line 2548) | class TrashResourceListObject(ResourceListObject): method __init__ (line 2551) | def __init__(self, class SyncTrashResourceListObject (line 2557) | class SyncTrashResourceListObject(TrashResourceListObject): method __init__ (line 2560) | def __init__(self, class AsyncTrashResourceListObject (line 2566) | class AsyncTrashResourceListObject(TrashResourceListObject): method __init__ (line 2569) | def __init__(self, class PublicSettingsObject (line 2575) | class PublicSettingsObject(YaDiskObject): method __init__ (line 2585) | def __init__( class AvailableUntilVerboseObject (line 2593) | class AvailableUntilVerboseObject(YaDiskObject): method __init__ (line 2597) | def __init__( class PasswordVerboseObject (line 2605) | class PasswordVerboseObject(YaDiskObject): method __init__ (line 2609) | def __init__( class ExternalOrganizationIdVerboseObject (line 2617) | class ExternalOrganizationIdVerboseObject(YaDiskObject): method __init__ (line 2621) | def __init__( class PublicAccessObject (line 2629) | class PublicAccessObject(YaDiskObject): method __init__ (line 2647) | def __init__( class PublicAvailableSettingsObject (line 2655) | class PublicAvailableSettingsObject(YaDiskObject): method __init__ (line 2662) | def __init__( class PublicDefaultObject (line 2670) | class PublicDefaultObject(YaDiskObject): method __init__ (line 2675) | def __init__( FILE: src/yadisk/objects/_yadisk_object.py class YaDiskObject (line 25) | class YaDiskObject: method __init__ (line 40) | def __init__(self, method __dir__ (line 53) | def __dir__(self) -> Generator[str, None, None]: method set_field_types (line 62) | def set_field_types(self, field_types: dict) -> None: method set_field_type (line 71) | def set_field_type(self, field: str, type: Callable) -> None: method set_alias (line 81) | def set_alias(self, alias: str, name: str) -> None: method remove_alias (line 91) | def remove_alias(self, alias: str) -> None: method remove_field (line 100) | def remove_field(self, field: str) -> None: method import_fields (line 110) | def import_fields(self, source_dict: Optional[dict]) -> None: method __setattr__ (line 131) | def __setattr__(self, attr: str, value: Any) -> None: method __getattr__ (line 144) | def __getattr__(self, attr: str) -> Any: method __getitem__ (line 152) | def __getitem__(self, key: str) -> Any: method __setitem__ (line 160) | def __setitem__(self, key: str, value: Any) -> None: method __delitem__ (line 163) | def __delitem__(self, key: str) -> None: method __iter__ (line 171) | def __iter__(self) -> Iterator[dict]: method __len__ (line 174) | def __len__(self) -> int: method __repr__ (line 177) | def __repr__(self) -> str: method _repr_pretty_ (line 180) | def _repr_pretty_(self, p, cycle: bool) -> None: method field (line 202) | def field(self, name: str) -> Any: method __matmul__ (line 221) | def __matmul__(self, name: str) -> Any: FILE: src/yadisk/sessions/_httpx_common.py function convert_httpx_exception (line 35) | def convert_httpx_exception(exc: httpx.HTTPError) -> Union[RequestError,... function convert_timeout (line 48) | def convert_timeout(timeout: TimeoutParameter) -> Optional[httpx.Timeout]: function convert_args_for_httpx (line 61) | def convert_args_for_httpx( FILE: src/yadisk/sessions/aiohttp_session.py function convert_aiohttp_exception (line 42) | def convert_aiohttp_exception(exc: aiohttp.ClientError) -> Union[Request... class AIOHTTPResponse (line 55) | class AIOHTTPResponse(AsyncResponse): method __init__ (line 56) | def __init__(self, response: aiohttp.ClientResponse): method json (line 62) | async def json(self) -> JSON: method download (line 70) | async def download(self, consume_callback: AsyncConsumeCallback) -> None: method close (line 83) | async def close(self) -> None: function convert_timeout (line 87) | def convert_timeout(timeout: TimeoutParameter) -> Optional[aiohttp.Clien... class AIOHTTPSession (line 105) | class AIOHTTPSession(AsyncSession): method __init__ (line 134) | def __init__(self, *args, **kwargs) -> None: method aiohttp_session (line 149) | def aiohttp_session(self) -> aiohttp.ClientSession: method send_request (line 152) | async def send_request( method close (line 179) | async def close(self) -> None: FILE: src/yadisk/sessions/async_httpx_session.py class AsyncHTTPXResponse (line 32) | class AsyncHTTPXResponse(AsyncResponse): method __init__ (line 33) | def __init__(self, response: httpx.Response): method json (line 39) | async def json(self) -> JSON: method download (line 49) | async def download(self, consume_callback: AsyncConsumeCallback) -> None: method close (line 62) | async def close(self) -> None: class AsyncHTTPXSession (line 66) | class AsyncHTTPXSession(AsyncSession): method __init__ (line 99) | def __init__(self, *args, **kwargs): method httpx_session (line 104) | def httpx_session(self) -> httpx.AsyncClient: method send_request (line 107) | async def send_request(self, method: HTTPMethod, url: str, **kwargs) -... method close (line 116) | async def close(self) -> None: FILE: src/yadisk/sessions/httpx_session.py class HTTPXResponse (line 29) | class HTTPXResponse(Response): method __init__ (line 30) | def __init__(self, response: httpx.Response): method json (line 36) | def json(self) -> JSON: method download (line 46) | def download(self, consume_callback: ConsumeCallback) -> None: method close (line 53) | def close(self) -> None: class HTTPXSession (line 57) | class HTTPXSession(Session): method __init__ (line 88) | def __init__(self, *args, **kwargs): method httpx_client (line 93) | def httpx_client(self) -> httpx.Client: method send_request (line 96) | def send_request(self, method: HTTPMethod, url: str, **kwargs) -> Resp... method close (line 105) | def close(self) -> None: FILE: src/yadisk/sessions/pycurl_session.py function convert_curl_error (line 41) | def convert_curl_error(error: pycurl.error) -> RequestError: class PycURLResponse (line 57) | class PycURLResponse(Response): method __init__ (line 58) | def __init__(self, curl: pycurl.Curl, response: bytes): method _update_status (line 66) | def _update_status(self) -> None: method _perform (line 69) | def _perform(self) -> None: method _perform_rb (line 77) | def _perform_rb(self) -> None: method json (line 85) | def json(self) -> JSON: method download (line 91) | def download(self, consume_callback: ConsumeCallback) -> None: method close (line 122) | def close(self) -> None: class IterableReader (line 126) | class IterableReader: method __init__ (line 127) | def __init__(self, iterator: Iterator[bytes]): method read (line 132) | def read(self, size=-1) -> bytes: method readall (line 155) | def readall(self) -> bytes: function convert_timeout (line 173) | def convert_timeout(timeout: TimeoutParameter) -> Tuple[float, float]: class PycURLSession (line 201) | class PycURLSession(Session): method __init__ (line 229) | def __init__(self) -> None: method send_request (line 236) | def send_request( method close (line 311) | def close(self) -> None: FILE: src/yadisk/sessions/requests_session.py function convert_requests_exception (line 38) | def convert_requests_exception(exc: requests.RequestException) -> Union[... class RequestsResponse (line 51) | class RequestsResponse(Response): method __init__ (line 52) | def __init__(self, response: requests.Response): method json (line 58) | def json(self) -> JSON: method download (line 64) | def download(self, consume_callback: ConsumeCallback) -> None: method close (line 71) | def close(self) -> None: class RequestsSession (line 75) | class RequestsSession(Session): method __init__ (line 111) | def __init__(self, *args, **kwargs): method requests_session (line 117) | def requests_session(self) -> requests.Session: method _close_local (line 124) | def _close_local(self) -> None: method send_request (line 133) | def send_request( method close (line 168) | def close(self) -> None: FILE: src/yadisk/types.py class AsyncFileLike (line 106) | class AsyncFileLike(Protocol): method read (line 112) | async def read(self, size: int = ..., /) -> Union[str, bytes]: method write (line 121) | async def write(self, buffer: Any, /) -> int: method seek (line 130) | async def seek(self, pos: int, whence: int = ..., /) -> int: method tell (line 142) | async def tell(self) -> int: class BinaryAsyncFileLike (line 151) | class BinaryAsyncFileLike(Protocol): method read (line 157) | async def read(self, size: int = ..., /) -> bytes: method write (line 166) | async def write(self, buffer: Any, /) -> int: method seek (line 175) | async def seek(self, pos: int, whence: int = ..., /) -> int: method tell (line 187) | async def tell(self) -> int: class PublicSettings (line 269) | class PublicSettings(TypedDict, total=False): class AvailableUntilVerbose (line 303) | class AvailableUntilVerbose(TypedDict): class PasswordVerbose (line 315) | class PasswordVerbose(TypedDict): class ExternalOrganizationIdVerbose (line 327) | class ExternalOrganizationIdVerbose(TypedDict): class PublicSettingsAccess (line 339) | class PublicSettingsAccess(TypedDict, total=False): FILE: src/yadisk/utils.py class _UnexpectedRequestError (line 37) | class _UnexpectedRequestError(YaDiskError): function _add_exception_note (line 43) | def _add_exception_note(exc: Exception, note: str) -> None: function _add_exception_note (line 46) | def _add_exception_note(exc: Exception, note: str) -> None: function get_exception (line 111) | def get_exception(response: AnyResponse, error: Optional[ErrorObject]) -... function auto_retry (line 165) | def auto_retry( function async_auto_retry (line 227) | async def async_auto_retry( class CaseInsensitiveDict (line 297) | class CaseInsensitiveDict(dict): method _k (line 301) | def _k(cls, key: str) -> str: method __init__ (line 304) | def __init__(self, *args, **kwargs): method __getitem__ (line 308) | def __getitem__(self, key: str) -> Any: method __setitem__ (line 311) | def __setitem__(self, key: str, value: Any) -> None: method __delitem__ (line 314) | def __delitem__(self, key: str) -> Any: method __contains__ (line 317) | def __contains__(self, key: Any) -> bool: method pop (line 320) | def pop(self, key: str, /, *args, **kwargs) -> Any: method get (line 323) | def get(self, key: str, /, *args, **kwargs) -> Any: method setdefault (line 326) | def setdefault(self, key: str, *args, **kwargs) -> Any: method update (line 329) | def update(self, *args, **kwargs) -> None: method _convert_keys (line 332) | def _convert_keys(self) -> None: FILE: tests/async_client_test.py function open_tmpfile (line 30) | def open_tmpfile(mode): function async_open_tmpfile (line 38) | def async_open_tmpfile(mode): class TestAsyncClient (line 47) | class TestAsyncClient: method test_get_disk_info (line 53) | async def test_get_disk_info(self, async_client: yadisk.AsyncClient) -... method test_get_meta (line 64) | async def test_get_meta(self, async_client: yadisk.AsyncClient, disk_r... method test_listdir (line 75) | async def test_listdir(self, async_client: yadisk.AsyncClient, disk_ro... method test_listdir_fields (line 92) | async def test_listdir_fields(self, async_client: yadisk.AsyncClient, ... method test_listdir_on_file (line 108) | async def test_listdir_on_file(self, async_client: yadisk.AsyncClient,... method test_listdir_with_limits (line 121) | async def test_listdir_with_limits(self, async_client: yadisk.AsyncCli... method test_listdir_with_max_items (line 136) | async def test_listdir_with_max_items(self, async_client: yadisk.Async... method test_mkdir_and_exists (line 163) | async def test_mkdir_and_exists(self, async_client: yadisk.AsyncClient... method _test_makedirs (line 177) | async def _test_makedirs(self, async_client: yadisk.AsyncClient, disk_... method test_makedirs_without_scheme (line 202) | async def test_makedirs_without_scheme(self, async_client: yadisk.Asyn... method test_makedirs_with_scheme (line 206) | async def test_makedirs_with_scheme(self, async_client: yadisk.AsyncCl... method test_upload_and_download (line 215) | async def test_upload_and_download( method test_upload_and_download_async (line 248) | async def test_upload_and_download_async(self, async_client: yadisk.As... method test_check_token (line 279) | async def test_check_token(self, async_client: yadisk.AsyncClient, dis... method test_permanent_remove (line 284) | async def test_permanent_remove(self, async_client: yadisk.AsyncClient... method test_restore_trash (line 295) | async def test_restore_trash(self, async_client: yadisk.AsyncClient, d... method test_move (line 319) | async def test_move(self, async_client: yadisk.AsyncClient, disk_root:... method test_rename (line 328) | async def test_rename(self, async_client: yadisk.AsyncClient, disk_roo... method test_rename_edgecases (line 353) | async def test_rename_edgecases(self, async_client: yadisk.AsyncClient... method test_remove_trash (line 392) | async def test_remove_trash(self, async_client: yadisk.AsyncClient, di... method test_publish_unpublish (line 412) | async def test_publish_unpublish(self, async_client: yadisk.AsyncClien... method test_public_settings (line 437) | async def test_public_settings(self, async_client: yadisk.AsyncClient,... method test_patch (line 468) | async def test_patch(self, async_client: yadisk.AsyncClient, disk_root... method test_issue7 (line 479) | async def test_issue7(self, async_client: yadisk.AsyncClient, disk_roo... method test_is_operation_link (line 487) | def test_is_operation_link(self) -> None: method test_get_operation_status_request_url (line 494) | async def test_get_operation_status_request_url(self, async_client: ya... method test_is_file (line 513) | async def test_is_file(self, async_client: yadisk.AsyncClient, disk_ro... method test_ensure_path_has_scheme (line 525) | def test_ensure_path_has_scheme(self) -> None: method test_upload_download_non_seekable (line 536) | async def test_upload_download_non_seekable( method test_copy (line 566) | async def test_copy( method test_save_to_disk (line 598) | async def test_save_to_disk( method test_upload_url (line 628) | async def test_upload_url( method test_none_args (line 648) | async def test_none_args(self, async_client: yadisk.AsyncClient) -> None: method test_get_files (line 673) | async def test_get_files(self, async_client: yadisk.AsyncClient) -> None: method test_get_last_uploaded (line 694) | async def test_get_last_uploaded( method test_public_listdir (line 720) | async def test_public_listdir( method test_get_public_resources (line 763) | async def test_get_public_resources(self, async_client: yadisk.AsyncCl... method test_get_upload_link_object (line 777) | async def test_get_upload_link_object(self, async_client: yadisk.Async... method test_streaming_requests (line 792) | async def test_streaming_requests(self, async_client: yadisk.AsyncClie... method test_wait_for_operation (line 803) | async def test_wait_for_operation( method test_download_by_link_error (line 830) | async def test_download_by_link_error(self, async_client: yadisk.Async... method test_operation_error_triggers_retry (line 847) | async def test_operation_error_triggers_retry( FILE: tests/auth_test.py function test_auth (line 23) | def test_auth(client: yadisk.Client) -> None: function test_device_code_auth (line 45) | def test_device_code_auth(client: yadisk.Client) -> None: function test_auth_async (line 70) | async def test_auth_async(async_client: yadisk.AsyncClient) -> None: function test_device_code_auth_async (line 92) | async def test_device_code_auth_async(async_client: yadisk.AsyncClient) ... FILE: tests/auto_retry_test.py function test_auto_retry (line 7) | async def test_auto_retry() -> None: function test_auto_retry_with_disable_retries (line 62) | async def test_auto_retry_with_disable_retries() -> None: function test_auto_retry_without_errors (line 86) | async def test_auto_retry_without_errors() -> None: FILE: tests/client_test.py function open_tmpfile (line 27) | def open_tmpfile(mode): class TestClient (line 35) | class TestClient: method test_get_disk_info (line 41) | def test_get_disk_info(self, client: yadisk.Client) -> None: method test_get_meta (line 52) | def test_get_meta(self, client: yadisk.Client, disk_root: str) -> None: method test_listdir (line 63) | def test_listdir(self, client: yadisk.Client, disk_root: str) -> None: method test_listdir_fields (line 81) | def test_listdir_fields(self, client: yadisk.Client, disk_root: str) -... method test_listdir_on_file (line 94) | def test_listdir_on_file(self, client: yadisk.Client, disk_root: str) ... method test_listdir_with_limits (line 107) | def test_listdir_with_limits(self, client: yadisk.Client, disk_root: s... method test_listdir_with_max_items (line 120) | def test_listdir_with_max_items(self, client: yadisk.Client, disk_root... method test_mkdir_and_exists (line 147) | def test_mkdir_and_exists(self, client: yadisk.Client, disk_root: str)... method _test_makedirs (line 159) | def _test_makedirs(self, client: yadisk.Client, disk_root: str) -> None: method test_makedirs_without_scheme (line 184) | def test_makedirs_without_scheme(self, client: yadisk.Client, disk_roo... method test_makedirs_with_scheme (line 188) | def test_makedirs_with_scheme(self, client: yadisk.Client, disk_root: ... method test_upload_and_download (line 196) | def test_upload_and_download(self, client: yadisk.Client, disk_root: s... method test_check_token (line 212) | def test_check_token(self, client: yadisk.Client, disk_root: str) -> N... method test_permanent_remove (line 217) | def test_permanent_remove(self, client: yadisk.Client, disk_root: str)... method test_restore_trash (line 228) | def test_restore_trash(self, client: yadisk.Client, disk_root: str) ->... method test_move (line 252) | def test_move(self, client: yadisk.Client, disk_root: str) -> None: method test_rename (line 261) | def test_rename(self, client: yadisk.Client, disk_root: str) -> None: method test_rename_edgecases (line 286) | def test_rename_edgecases(self, client: yadisk.Client, mocker) -> None: method test_remove_trash (line 325) | def test_remove_trash(self, client: yadisk.Client, disk_root: str) -> ... method test_publish_unpublish (line 345) | def test_publish_unpublish(self, client: yadisk.Client, disk_root: str... method test_public_settings (line 371) | def test_public_settings(self, client: yadisk.Client, disk_root: str) ... method test_patch (line 402) | def test_patch(self, client: yadisk.Client, disk_root: str) -> None: method test_issue7 (line 413) | def test_issue7(self, client: yadisk.Client, disk_root: str) -> None: method test_is_operation_link (line 421) | def test_is_operation_link(self) -> None: method test_get_operation_status_request_url (line 428) | def test_get_operation_status_request_url(self, client: yadisk.Client,... method test_ensure_path_has_scheme (line 446) | def test_ensure_path_has_scheme(self) -> None: method test_upload_download_non_seekable (line 457) | def test_upload_download_non_seekable( method test_upload_generator (line 489) | def test_upload_generator(self, client: yadisk.Client, disk_root: str)... method test_copy (line 507) | def test_copy( method test_save_to_disk (line 539) | def test_save_to_disk( method test_upload_url (line 569) | def test_upload_url( method test_none_args (line 589) | def test_none_args(self, client: yadisk.Client) -> None: method test_get_files (line 614) | def test_get_files(self, client: yadisk.Client) -> None: method test_get_last_uploaded (line 635) | def test_get_last_uploaded(self, client: yadisk.Client, disk_root: str... method test_public_listdir (line 655) | def test_public_listdir(self, client: yadisk.Client, disk_root: str) -... method test_get_public_resources (line 694) | def test_get_public_resources(self, client: yadisk.Client) -> None: method test_get_upload_link_object (line 704) | def test_get_upload_link_object(self, client: yadisk.Client, disk_root... method test_streaming_requests (line 715) | def test_streaming_requests(self, client: yadisk.Client) -> None: method test_wait_for_operation (line 722) | def test_wait_for_operation( method test_download_by_link_error (line 746) | def test_download_by_link_error(self, client: yadisk.Client) -> None: method test_operation_error_triggers_retry (line 763) | def test_operation_error_triggers_retry( FILE: tests/conftest.py function gateway_host (line 17) | def gateway_host() -> str: function gateway_port (line 22) | def gateway_port() -> int: function gateway (line 27) | def gateway(gateway_host: str, gateway_port: int) -> Generator[Backgroun... function disk_root (line 42) | def disk_root(request: pytest.FixtureRequest) -> str: function disk_cleanup (line 59) | def disk_cleanup( function async_disk_cleanup (line 85) | async def async_disk_cleanup( function replay_enabled (line 111) | def replay_enabled() -> bool: function recording_enabled (line 116) | def recording_enabled() -> bool: function record_or_replay (line 121) | def record_or_replay( function client (line 150) | def client( function async_client (line 196) | async def async_client( function anyio_backend (line 242) | def anyio_backend() -> str: function sync_client_test (line 247) | def sync_client_test(record_or_replay, disk_cleanup) -> None: function async_client_test (line 252) | def async_client_test(record_or_replay, async_disk_cleanup) -> None: function poll_interval (line 257) | def poll_interval(replay_enabled: bool) -> float: FILE: tests/disk_gateway.py function get_upload_base_url (line 38) | def get_upload_base_url(subdomain: str) -> str: function select_keys (line 42) | def select_keys(d, keys): function serialize_content (line 46) | def serialize_content(content: bytes) -> str: function deserialize_content (line 50) | def deserialize_content(content: str) -> bytes: function serialize_request (line 54) | def serialize_request(request: httpx.Request, response: httpx.Response): function deserialize_request (line 64) | def deserialize_request(request: dict): function deserialize_response (line 76) | def deserialize_response(response: dict) -> httpx.Response: function serialize_response (line 84) | def serialize_response(response: httpx.Response): class UnexpectedRequestResponse (line 92) | class UnexpectedRequestResponse(JSONResponse): method __init__ (line 93) | def __init__(self, message: str) -> None: class DiskGateway (line 104) | class DiskGateway: method __init__ (line 105) | def __init__(self): method on_shutdown (line 196) | async def on_shutdown(self): method update_token_map (line 199) | async def update_token_map(self, request: Request): method clear_token_map (line 211) | async def clear_token_map(self, request: Request): method forward_request (line 215) | async def forward_request(self, request: Request, base_url: str): method replay_response (line 253) | async def replay_response(self, request: Request, base_url: str): method disk_gateway (line 335) | async def disk_gateway(self, request: Request): method auth_gateway (line 338) | async def auth_gateway(self, request: Request): method download_gateway (line 341) | async def download_gateway(self, request: Request): method upload_gateway (line 344) | async def upload_gateway(self, request: Request): method disk_replay (line 349) | async def disk_replay(self, request: Request): method auth_replay (line 352) | async def auth_replay(self, request: Request): method download_replay (line 355) | async def download_replay(self, request: Request): method upload_replay (line 358) | async def upload_replay(self, request: Request): method start_recording (line 363) | async def start_recording(self, request: Request): method stop_recording (line 368) | async def stop_recording(self, request: Request): method clear_recorded_requests (line 373) | async def clear_recorded_requests(self, request: Request): method dump_recorded_requests (line 379) | async def dump_recorded_requests(self, request: Request): method set_replay_index (line 382) | async def set_replay_index(self, request: Request): method set_replay (line 387) | async def set_replay(self, request: Request): method check_status (line 393) | async def check_status(self, request: Request): method stop (line 396) | def stop(self): method run (line 400) | async def run(self, host: str, port: int): function main (line 412) | async def main(args: list) -> None: class DiskGatewayClient (line 422) | class DiskGatewayClient: method __init__ (line 423) | def __init__(self, base_url: str): method __enter__ (line 427) | def __enter__(self): method __exit__ (line 431) | def __exit__(self, *args, **kwargs): method close (line 434) | def close(self): method start_recording (line 437) | def start_recording(self): method stop_recording (line 440) | def stop_recording(self): method clear_recorded_requests (line 443) | def clear_recorded_requests(self): method dump_recorded_requests (line 446) | def dump_recorded_requests(self): method set_replay_index (line 449) | def set_replay_index(self, index: int): method set_replay (line 452) | def set_replay(self, json: Any): method is_running (line 455) | def is_running(self) -> bool: method update_token_map (line 461) | def update_token_map(self, tokens: dict): method clear_token_map (line 464) | def clear_token_map(self): method record_as (line 468) | def record_as(self, filename: str): method replay (line 481) | def replay(self, filename: str): class BackgroundGatewayThread (line 491) | class BackgroundGatewayThread: method __init__ (line 492) | def __init__(self, host: str, port: int): method start (line 502) | def start(self): method stop (line 508) | def stop(self): FILE: tests/import_session_test.py function available_session_names (line 11) | def available_session_names() -> List[str]: function available_async_session_names (line 16) | def available_async_session_names() -> List[str]: function test_import_session (line 24) | def test_import_session( function test_import_async_session (line 37) | def test_import_async_session( function test_import_unknown_session (line 46) | def test_import_unknown_session() -> None: function test_default_imported_session (line 54) | def test_default_imported_session() -> None: FILE: tests/test_session.py function _ensure_trailing_slash (line 12) | def _ensure_trailing_slash(s: str) -> str: class TestSession (line 18) | class TestSession(yadisk.Session): method __init__ (line 21) | def __init__( method send_request (line 35) | def send_request(self, method: HTTPMethod, url: str, **kwargs) -> yadi... method close (line 63) | def close(self) -> None: class AsyncTestSession (line 66) | class AsyncTestSession(yadisk.AsyncSession): method __init__ (line 69) | def __init__( method send_request (line 83) | async def send_request(self, method: HTTPMethod, url: str, **kwargs) -... method close (line 111) | async def close(self) -> None: