Release 1.4.0
— Added convenience methods to :code:...Object
objects (e.g. see :code:ResourceObject
in docs)
— Added type hints
— Improved error checking and response validation
— Added InvalidResponseError
, PayloadTooLargeError
, UploadTrafficLimitExceededError
— Added a few missing fields to DiskInfoObject
and SystemFoldersObject
— Added rename()
, upload_by_link()
and download_by_link()
methods
— Added default_args
field for YaDisk
object
— download()
and :code:upload()
now return ResourceLinkObject
— Returned LinkObject
instances have been replaced by more specific subclasses
— ConnectionError
now also triggers a retry
— Added support for async files for download()
and upload()
— Use aiofiles
to open files by default