Azure SDK for Python (February 2020)
The Azure SDK team is pleased to make available the February 2020 client library GA release.
This release includes the following:
GA
Preview
Text Analytics
Installation Instructions
To install the latest preview version of the packages, copy and paste the following commands into a terminal:
pip install azure-appconfiguration
pip install --pre azure-eventhub
pip install --pre azure-eventhub-checkpointstoreblob-aio
pip install azure-storage-blob
pip install --pre azure-storage-file-datalake
pip install --pre azure-storage-file-share
pip install azure-storage-queue
pip install azure-keyvault-certificates
pip install azure-keyvault-keys
pip install azure-keyvault-secrets
pip install azure-identity
pip install --pre azure-ai-textanalytics
Feedback
If you have a bug or feature request for one of the libraries, please post an issue to GitHub.
Changelog
Detailed change logs are linked to in the Quick Links below. Here are some critical call outs.
Identity
ClientCertificateCredential
supports password-protected certificates.- Added
CredentialUnavailableError
to distinguish cases when failure to obtain a token was expected. For example,EnvironmentCredential.get_token()
will raise this error when environment variable configuration is incomplete.
Key Vault
- This release contains bug fixes to improve quality.
Storage File DataLake (Changelog)
- Async APIs are now supported.
Text Analytics Changelog
- The single text, module-level operations have been removed from the client library. Use the batching methods for optimal performance in production environments.
- New credential class
TextAnalyticsApiKeyCredential("<api_key>")
must be used if authenticating with an API key. It provides anupdate_key()
method which allows you to update the API key for long-lived clients. Passing the API key as a string is no longer supported. - The
TextAnalyticsError
model has been simplified to an object with onlycode
,message
, andtarget
attributes. __repr__
has been added to all of the response objects.- An
AttributeError
with custom error message is now raised if you try to access a result attribute on aDocumentError
object.
Latest Releases
View all the latest versions of Python packages here.