azure-storage-file-share_12.16.0b1
Pre-release
Pre-release
12.16.0b1 (2024-04-16)
This version and all future versions will require Python 3.8+. Python 3.7 is no longer supported.
Features Added
- Added
existsmethod toShareFileClientto check if a file exists. - Added support for service version 2024-05-04.
- The
servicesparameter has been added to thegenerate_account_sasAPI, which enables the ability to generate SAS
tokens to be used with multiple services. By default, the SAS token service scope will default to the current service.
Bugs Fixed
- Fixed an issue where the
ShareDirectoryClientreturned byget_subdirectory_clientwith aShareDirectoryClient
pointing to the root of the file share would raise anInvalidResourceNameon any operations. - Bumped dependency of
typing-extensionsto>=4.6.0to avoid potentialTypeErrorwithtyping.TypeVaron
Python 3.12. - Fixed an issue where authentication errors could raise
AttributeErrorinstead ofClientAuthenticationErrorwhen
using async OAuth credentials. - Fixed an issue where parameter
delete_snapshotstodelete_shareAPI did not support all possible enums. This change
makesdelete_snapshotsnow accept string literals 'include' and 'include-leased'. - Fixed an issue where specifying datetime objects with less than 7 digits of precision as input could incorrectly raise
InvalidHeaderValuedue to improper precision parsing.