Commit 0911644
authored
Improve typing (#42596)
* Replace kwargs with optional params
* Update polling parameter type to use PollingMethod in PhoneNumbersClient
* Remove extra spaces
* Set default quantity to 1 if not provided in PhoneNumbersClient
* Update recordings to add quantity
* Fix recordings
* Remove x-ms-user-agent
* Fix pylint errors
* Reorganize TYPE_CHECKING imports for consistency
* Refactor search request creation to use kwargs for improved readability
* Revert recording changes
* Refactor PhoneNumberSearchRequest creation for improved clarity and maintainability
* Refactor PhoneNumberSearchRequest creation to simplify logic and improve readability
* Remove quantity from recordings
* Revert to recordings quith quantity
* Remove unnecessary blank lines in PhoneNumbersClient search request methods
* Update recordings
* Update recordings
* Update recordings
* add changelog entry
* refactor: simplify return statement in list_phone_numbers method
* changelog: update release history for version 1.4.1
* changelog: update release history for version 1.4.1
* changelog: correct version header and format for 1.4.1 release
* changelog: fix format
* refactor: remove unnecessary cast in phone number listing methods
* changelog: update release history for version 1.5.0
* bump version to 1.5.01 parent 89f8e9f commit 0911644
File tree
5 files changed
+258
-110
lines changed- sdk/communication/azure-communication-phonenumbers
- azure/communication/phonenumbers
- aio
5 files changed
+258
-110
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
3 | 14 | | |
4 | 15 | | |
5 | 16 | | |
| |||
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
37 | | - | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
0 commit comments