Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
AZURE_STORAGE_CONNECTION_STRING = "DefaultEndpointsProtocol=https;AccountName=storagename;AccountKey=NzhL3hKZbJBuJ2484dPTR+xF30kYaWSSCbs2BzLgVVI1woqeST/1IgqaLm6QAOTxtGvxctSNbIR/1hW8yH+bJg==;EndpointSuffix=core.windows.net"

# Read for details of this file:
# https://github.com/Azure/azure-sdk-for-python/wiki/Contributing-to-the-tests
# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/tests.md


def get_azure_core_credentials(**kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from testcase import {{ test_prefix.capitalize() }}Test, {{ test_prefix.capitalize() }}Preparer


# For more info about how to write and run test, please refer to https://github.com/Azure/azure-sdk-for-python/wiki/Dataplane-Codegen-Quick-Start-for-Test
# For more info about how to write and run test, please refer to https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/tests.md
class {{ test_prefix.capitalize() }}SmokeTest({{ test_prefix.capitalize() }}Test):


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from testcase_async import {{ test_prefix.capitalize() }}AsyncTest


# For more info about how to write and run test, please refer to https://github.com/Azure/azure-sdk-for-python/wiki/Dataplane-Codegen-Quick-Start-for-Test
# For more info about how to write and run test, please refer to https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/tests.md
class {{ test_prefix.capitalize() }}SmokeAsyncTest({{ test_prefix.capitalize() }}AsyncTest):

@{{ test_prefix.capitalize() }}Preparer()
Expand Down
10 changes: 5 additions & 5 deletions sdk/batch/azure-batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pip install azure-batch azure-identity
### Prerequisites
* An Azure subscription. If you don't have one, [create an account for free][azure_sub]
* A [Batch account][azure_batch] with a linked [Storage account][azure_storage]
* Python 3.9 or later. For more details, please see the [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy)
* Python 3.9 or later. For more details, please see the [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md)

### Authenticate the client

Expand All @@ -47,7 +47,7 @@ client = BatchClient(

#### Authenticate with Shared Key Credentials

You can also use Shared Key authentication to sign into your Batch account. This method uses your Batch account access keys to authenticate Azure commands for the Batch service.
You can also use Shared Key authentication to sign into your Batch account. This method uses your Batch account access keys to authenticate Azure commands for the Batch service.

```python
from azure.core.credentials import AzureNamedKeyCredential
Expand Down Expand Up @@ -135,7 +135,7 @@ pool = batch_client.pool.create(
"userAssignedIdentities": {
"/subscriptions/"+SUBSCRIPTION_ID+"/resourceGroups/"+GROUP_NAME+"/providers/Microsoft.ManagedIdentity/userAssignedIdentities/"+"Your Identity Name": {}
}

}
}
)
Expand All @@ -161,7 +161,7 @@ vm_config = models.VirtualMachineConfiguration(

pool_spec = models.BatchPoolCreateOptions(
id="my-pool",
vm_size="standard_d2_v2",
vm_size="standard_d2_v2",
target_dedicated_nodes=1,
virtual_machine_configuration=vm_config
)
Expand Down Expand Up @@ -549,4 +549,4 @@ section of the project.
[azure_batch]: https://azure.microsoft.com/products/batch
[azure_storage]: https://azure.microsoft.com/products/category/storage

[batch_source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-batch
[batch_source_code]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-batch
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@

* `QuestionAnsweringProjectsClient` was renamed to `AuthoringClient`.
* The `azure.ai.language.questionanswering.projects` namespace was renamed to `azure.ai.language.questionanswering.authoring`
* Authoring client methods: `begin_deploy_project`, `begin_import_assets`, `begin_update_sources`
* Authoring client methods: `begin_deploy_project`, `begin_import_assets`, `begin_update_sources`
and `begin_update_qnas` now return a response upon completion of the long-running operation.
* Keyword argument `format` renamed to `file_format` for `begin_export` and `begin_import_assets`.

### Bugs Fixed
* Fixed a bug where the client-level keyword argument `default_language` was not being honored for `get_answers_from_text`.

### Other Changes
* Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
* Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).
* Dropped dependency on `msrest`.

## 1.1.0b2 (2022-07-19)
Expand Down Expand Up @@ -115,4 +115,4 @@
## 1.0.0b1 (2021-07-27)

### Features Added
* Initial release - supports querying from text records and knowledge bases.
* Initial release - supports querying from text records and knowledge bases.
10 changes: 5 additions & 5 deletions sdk/cognitivelanguage/azure-ai-textanalytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This version of the client library defaults to the service API version `2023-04-
- Renamed client method `begin_abstractive_summary` to `begin_abstract_summary`.
- Removed `dynamic_classification` client method and related types: `DynamicClassificationResult` and `ClassificationType`.
- Removed keyword arguments `fhir_version` and `document_type` from `begin_analyze_healthcare_entities` and `AnalyzeHealthcareEntitiesAction`.
- Removed property `fhir_bundle` from `AnalyzeHealthcareEntitiesResult`.
- Removed property `fhir_bundle` from `AnalyzeHealthcareEntitiesResult`.
- Removed enum `HealthcareDocumentType`.
- Removed property `resolutions` from `CategorizedEntity`.
- Removed models and enums related to resolutions: `ResolutionKind`, `AgeResolution`, `AreaResolution`,
Expand Down Expand Up @@ -87,7 +87,7 @@ This version of the client library defaults to the service API version `2022-10-

### Other Changes

- Improved static typing in the client library.
- Improved static typing in the client library.

## 5.3.0b1 (2022-11-17)

Expand All @@ -101,7 +101,7 @@ This version of the client library defaults to the service API version `2022-10-
- Added property `confidence_score` to `HealthcareRelation`.
- Added enum `HealthcareDocumentType`.
- Added property `resolutions` to `CategorizedEntity`.
- Added models and enums related to resolutions: `BaseResolution`, `ResolutionKind`, `AgeResolution`, `AreaResolution`,
- Added models and enums related to resolutions: `BaseResolution`, `ResolutionKind`, `AgeResolution`, `AreaResolution`,
`BooleanResolution`, `CurrencyResolution`, `DateTimeResolution`, `InformationResolution`, `LengthResolution`,
`NumberResolution`, `NumericRangeResolution`, `OrdinalResolution`, `SpeedResolution`, `TemperatureResolution`,
`TemporalSpanResolution`, `VolumeResolution`, `WeightResolution`, `AgeUnit`, `AreaUnit`, `TemporalModifier`,
Expand Down Expand Up @@ -163,7 +163,7 @@ The version of this client library defaults to the API version `2022-05-01`.

### Other Changes

- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, see [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).


## 5.2.0b4 (2022-05-18)
Expand Down Expand Up @@ -534,4 +534,4 @@ This version uses a next-generation code generator that *might* introduce breaki

## 0.1.0 (2018-01-12)

* Initial Release
* Initial Release
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your package.

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

PACKAGE_NAME = "azure-communication-callautomation"
PACKAGE_PPRINT_NAME = "Communication Call Automation"
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

### Other Changes

Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.1.0 (2021-09-15)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-chat/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your package.

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

PACKAGE_NAME = "azure-communication-chat"
PACKAGE_PPRINT_NAME = "Communication Chat"
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-email/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The public release of the Azure Communication Services SDK for Email has the fol
- The importance property was removed. Email importance can now be specified through either the `x-priority` or `x-msmail-priority` custom headers.

### Other Changes
Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.0.0b1 (2022-08-09)

Expand Down
4 changes: 2 additions & 2 deletions sdk/communication/azure-communication-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

### Other Changes

- Python 3.7 is no longer supported. Please use Python version 3.8 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 3.7 is no longer supported. Please use Python version 3.8 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.5.0 (2024-02-14)

Expand Down Expand Up @@ -78,7 +78,7 @@
- Added a new API version `ApiVersion.V2022_06_01` that is now the default API version

### Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.1.0b1 (2021-11-09)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-identity/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your package.

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.8. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.8. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

PACKAGE_NAME = "azure-communication-identity"
PACKAGE_PPRINT_NAME = "Communication Identity Service"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
### Prerequisites
You need an [Azure subscription][azure_sub] and a [Communication Service Resource][communication_resource_docs] to use this package.

- Python 3.7 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 3.7 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).
- To create a new Communication Service, you can use the [Azure Portal][communication_resource_create_portal], the [Azure PowerShell][communication_resource_create_power_shell]

### Install the package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
- Added the ability specify the API version by an optional `api_version` keyword parameter.

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).
- Updated the default polling interval to 2 seconds, it can still be overwritten by using the keyword argument "polling_interval".
- Trying to update capabilities with empty phone number will throw `ValueError`. Prior to this change, the client would make an HTTP request that would always fail.
- Migrated tests from vcrpy to test proxy.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your package.

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

PACKAGE_NAME = "azure-communication-phonenumbers"
PACKAGE_PPRINT_NAME = "Communication Phone Numbers"
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-rooms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
- Invalid datestrings for `valid_from` and `valid_until` raises exception

### Other Changes
Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.0.0b1 (2022-08-10)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-rooms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from setuptools import setup, find_packages

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

# Change the PACKAGE_NAME only to change folder and different name
PACKAGE_NAME = "azure-communication-rooms"
Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-sms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 1.1.0 (2024-10-03)

### Other Changes
- Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
- Python 2.7 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

## 1.0.1 (2021-06-08)

Expand Down
2 changes: 1 addition & 1 deletion sdk/communication/azure-communication-sms/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# your package.

# this setup.py is set up in a specific way to keep the azure* and azure-mgmt-* namespaces WORKING all the way
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/wiki/Azure-packaging
# up from python 3.7. Reference here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md

PACKAGE_NAME = "azure-communication-sms"
PACKAGE_PPRINT_NAME = "Communication SMS"
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/azure-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@

## 1.25.0 (2022-08-04)

Azure-core is supported on Python 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
Azure-core is supported on Python 3.7 or later. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md).

### Features Added

Expand Down
24 changes: 12 additions & 12 deletions sdk/eventhub/azure-eventhub/CLIENT_DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This guide is intended for developers contributing to the Azure Event Hubs Pytho

### Prerequisites

- Python version [supported by the client library](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy)
- Python version [supported by the client library](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/python_version_support_policy.md)
- Git
- pip and setuptools
- Azure subscription to create Event Hubs resources
Expand Down Expand Up @@ -71,22 +71,22 @@ Live tests require an Azure Event Hubs namespace. Resources are created dynamica
```

2. Set required environment variables (or create a `.env` file):

The following need to be set to run live tests locally and authenticate with AzureCliCredential:
```
AZURE_SUBSCRIPTION_ID=<your-subscription-id>
EVENTHUB_RESOURCE_GROUP=<your-resource-group>
EVENTHUB_NAMESPACE=<your-namespace> # Only the name, not the full URL
AZURE_TEST_RUN_LIVE=true
```

If using CLI:
```
AZURE_TEST_USE_CLI_AUTH=true
```

OR

If using pwsh:
```
AZURE_TEST_USE_PWSH_AUTH=true
Expand All @@ -96,10 +96,10 @@ Live tests require an Azure Event Hubs namespace. Resources are created dynamica
```bash
# Run a specific test to check if your environment is set up correctly
pytest tests/livetest/synctests/test_consumer_client.py::test_receive_partition

# Run all live tests
pytest tests/livetest

# Run with output visible even if tests pass
pytest -s tests/livetest/synctests/test_specific_file.py::test_specific_function
```
Expand Down Expand Up @@ -149,16 +149,16 @@ stress/
```bash
# Check on pods
kubectl get pods -n <your-namespace>

# Delete namespace
kubectl delete namespace <your-namespace>

# List all active namespaces
helm list --all-namespaces

# Show logs in console
kubectl logs -n <your-namespace> <pod-name>

# For init failure
kubectl logs -n <your-namespace> <pod-name> -c init-azure-deployer
```
Expand Down Expand Up @@ -206,4 +206,4 @@ To run performance tests in a pipeline for a PR:

- [Event Hubs Architecture](https://docs.microsoft.com/azure/event-hubs/event-hubs-about)
- [Azure SDK Design Guidelines](https://azure.github.io/azure-sdk/python_design.html)
- [Event Hubs Samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples)
- [Event Hubs Samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub/samples)
Loading
Loading