-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[AutoPR] restapi_auto_network/resource-manager #1933
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1933 +/- ##
==========================================
+ Coverage 53.08% 53.51% +0.43%
==========================================
Files 4774 5135 +361
Lines 119517 123409 +3892
==========================================
+ Hits 63440 66040 +2600
- Misses 56077 57369 +1292
Continue to review full report at Codecov.
|
|
@AutorestCI rebase |
|
Rebase done and pushed to the branch |
f75941d to
417085e
Compare
… examples for 2018-01-01 version (#2004) * Generated from 1fb08449cc9f20646435d3b498949a507447c755 Fixed Linter errors * Generated from 6a2b7a0d90b4aeb9fcc7f0e0bcd01cf73f39abbf Fixed Linter errors: iteration 2
417085e to
facae9e
Compare
|
(message created by the CI based on PR content) Installation instructionPackage azure-mgmt-networkYou can install the package You can build a wheel to distribute for test using the following command: If you have a local clone of this repository, you can also do:
Or build a wheel file to distribute for testing:
Direct downloadYour files can be directly downloaded here: |
azure-mgmt-network/HISTORY.rst
Outdated
|
|
||
| **Breaking changes** | ||
|
|
||
| This version introduces a new generation of code generator that *might* introduce breaking changes. |
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.
This version uses a next-generation code generator that might introduce breaking changes.
azure-mgmt-network/HISTORY.rst
Outdated
|
|
||
| This version introduces a new generation of code generator that *might* introduce breaking changes. | ||
|
|
||
| - Model signatures are now using only keywords-arguments syntax. Every positional arguments are required to be rewritten as keywords-arguments. |
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.
Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments.
azure-mgmt-network/HISTORY.rst
Outdated
|
|
||
| - Model signatures are now using only keywords-arguments syntax. Every positional arguments are required to be rewritten as keywords-arguments. | ||
| To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "*" syntax for keyword-only arguments. | ||
| - Enum type are now using the "str" mixin (`class AzureEnum(str, Enum)`) to improve experiences when unkown enum are met. This is not a breaking change, |
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.
Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
azure-mgmt-network/HISTORY.rst
Outdated
| - Model signatures are now using only keywords-arguments syntax. Every positional arguments are required to be rewritten as keywords-arguments. | ||
| To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "*" syntax for keyword-only arguments. | ||
| - Enum type are now using the "str" mixin (`class AzureEnum(str, Enum)`) to improve experiences when unkown enum are met. This is not a breaking change, | ||
| but documentation about mixin enum should be known: |
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.
While this is not a breaking change, the distinctions are important, and are documented here:
https://docs.python.org/3/library/enum.html#others
At a glance.....
azure-mgmt-network/HISTORY.rst
Outdated
| - New Long Running Operation: | ||
|
|
||
| - Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same. | ||
| - Return type is now **always** a `msrest.polling.LROPoller`, whatever the optional parameters. |
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.
regardless of the optional parameters used.
azure-mgmt-network/HISTORY.rst
Outdated
|
|
||
| - Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same. | ||
| - Return type is now **always** a `msrest.polling.LROPoller`, whatever the optional parameters. | ||
| - `raw=True` changes behavior. Instead of not polling and returning the initial call as `ClientRawResponse`, now this returns a LROPoller as well and the final |
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.
- The behavior has changed when using
raw=True. Instead of returning the initial call result asClientRawResponsewithout polling, now this returns an LROPoller. After polling, the final resource will be returned as aClientRawResponse.
azure-mgmt-network/HISTORY.rst
Outdated
| - Return type is now **always** a `msrest.polling.LROPoller`, whatever the optional parameters. | ||
| - `raw=True` changes behavior. Instead of not polling and returning the initial call as `ClientRawResponse`, now this returns a LROPoller as well and the final | ||
| resource is returned as a `ClientRawResponse`. | ||
| - Adding `polling` parameter. Polling=True is the default and poll using ARM algorithm. Polling=False does not poll and return the initial call reponse. |
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.
- New
pollingparameter. The default behavior ispolling=Truewhich will poll using ARM algorithm. Whenpolling=False, the response of the initial call will be returned without polling.
azure-mgmt-network/HISTORY.rst
Outdated
| - `raw=True` changes behavior. Instead of not polling and returning the initial call as `ClientRawResponse`, now this returns a LROPoller as well and the final | ||
| resource is returned as a `ClientRawResponse`. | ||
| - Adding `polling` parameter. Polling=True is the default and poll using ARM algorithm. Polling=False does not poll and return the initial call reponse. | ||
| - Polling parameter accepts instances of subclasses of `msrest.polling.PollingMethod`. |
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.
pollingparameter ...
azure-mgmt-network/HISTORY.rst
Outdated
| resource is returned as a `ClientRawResponse`. | ||
| - Adding `polling` parameter. Polling=True is the default and poll using ARM algorithm. Polling=False does not poll and return the initial call reponse. | ||
| - Polling parameter accepts instances of subclasses of `msrest.polling.PollingMethod`. | ||
| - `add_done_callback` now does not fail if poller is done, but execute the callback right away. |
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.
add_done_callbackwill no longer raise if called after polling is finished, but will instead execute the callback right away.
No description provided.