Skip to content
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

storage.json 2016-01-01 Usage_List does not flatten #340

Closed
jianghaolu opened this issue Jun 13, 2016 · 1 comment
Closed

storage.json 2016-01-01 Usage_List does not flatten #340

jianghaolu opened this issue Jun 13, 2016 · 1 comment

Comments

@jianghaolu
Copy link
Contributor

In storage.json 2016-01-01, the Usage_List method remove the following from the 2015-06-15 spec:

        "x-ms-pageable": {
          "nextLinkName": null
        }

Which makes the method return UsageListResult instead of List<Usage>. This seems like an unnecessary breaking change in every language.

@lmazuel
Copy link
Member

lmazuel commented Jul 1, 2016

@amarzavery @devigned ?
Makes Python ugly too:

for usage in storage_client.usage.list().value:
    print('\t{}'.format(usage.name.value))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants