-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Communication] - Phone Number - Redesigned API #16671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we please get an updated APIview for these changes? :)
...n/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py
Show resolved
Hide resolved
sdk/communication/azure-communication-phonenumbers/azure/communication/phonenumbers/__init__.py
Outdated
Show resolved
Hide resolved
...n/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py
Outdated
Show resolved
Hide resolved
...n/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py
Outdated
Show resolved
Hide resolved
...n/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py
Outdated
Show resolved
Hide resolved
sdk/communication/azure-communication-phonenumbers/samples/get_phone_number_sample.py
Outdated
Show resolved
Hide resolved
...communication/azure-communication-phonenumbers/samples/list_acquired_phone_numbers_sample.py
Outdated
Show resolved
Hide resolved
9b3b232
to
cb958a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove whl
file
sdk/communication/azure-communication-phonenumbers/samples/get_phone_number_sample.py
Outdated
Show resolved
Hide resolved
...nenumbers/test/recordings/test_phone_number_administration_client.test_get_phone_number.yaml
Outdated
Show resolved
Hide resolved
...cordings/test_phone_number_administration_client_async.test_list_acquired_phone_numbers.yaml
Outdated
Show resolved
Hide resolved
...test/recordings/test_phone_number_administration_client_async.test_release_phone_number.yaml
Outdated
Show resolved
Hide resolved
...n/azure-communication-phonenumbers/azure/communication/phonenumbers/_phone_numbers_client.py
Outdated
Show resolved
Hide resolved
40239b1
to
a7d0a0c
Compare
...munication/azure-communication-phonenumbers/samples/search_available_phone_numbers_sample.py
Outdated
Show resolved
Hide resolved
...nication/azure-communication-phonenumbers/samples/update_phone_number_capabilities_sample.py
Outdated
Show resolved
Hide resolved
sdk/communication/azure-communication-phonenumbers/test/_shared/testcase.py
Outdated
Show resolved
Hide resolved
...one_number_administration_client.test_list_acquired_phone_numbers_from_managed_identity.yaml
Show resolved
Hide resolved
from azure.core.tracing.decorator import distributed_trace | ||
from azure.core.paging import ItemPaged | ||
from azure.core.polling import LROPoller | ||
from ._generated._phone_numbers_client import PhoneNumbersClient as PhoneNumbersClientGen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this common practice to have import class from generated code as XXXGen?
sdk/communication/azure-communication-phonenumbers/samples/get_phone_number_sample.py
Outdated
Show resolved
Hide resolved
from azure.core.tracing.decorator_async import distributed_trace_async | ||
from azure.core.paging import ItemPaged | ||
from azure.core.polling import LROPoller | ||
from .._generated.aio._phone_numbers_client import PhoneNumbersClient as PhoneNumbersClientGen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is 'import {A class} as {A Class}Gen' a common practice? why we need to do this?
I don't see next line is doing the same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also done in the Identity client and it was also done in the previous implementation of this PNM SDK, so I just left it as it was
Do we need to re-enable LIve TEST for phone number in this PR? I don't see that change? |
No need to checkin ...on/azure-communication-identity/azure_communication_identity-1.0.0b4-py2.py3-none-any.whl since it is empty file. |
22a2651
to
563859b
Compare
/azp run python - communication - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good. Thanks Jorge.
6fa85e3
to
471f511
Compare
/azp run python - communication - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
471f511
to
e268c60
Compare
9741e19
to
b14ef4d
Compare
…into update_ta_tests * 'master' of https://github.com/Azure/azure-sdk-for-python: Update get_package_properties.py logic for python 2.7 (#17144) update changelog (#17150) [ServiceBus] 7.1.0 Release update changelog (#17135) [ServiceBus] Object mapping support (#17080) move SetTestPipeline into its own template (#17141) Revise token cache configuration API (#16326) Fix dup cloud error (#17097) Perf tests for monitor exporter (#17067) [Communication] - Phone Number - Redesigned API (#16671) disable retry (#17078) [Key Vault] Add perf tests for certificates, keys, and secrets (#17073) [text analytics] Analyze updates for v5.1.0b6 (#17003) Add any additional claims to AuthenticationRequiredError (#17136) Fix logic in SetTestPipelineVersionInEngCommon (#17138) [Key Vault] Make test resource cleanup script asynchronous (#17032)
This PR has the new redesign for the PNM package.