-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADLA - ADLS] - Adding pageable extension for Catalog ACL APIs and removing childrenNum property (#2353) * Adding paging for ListAcls and ListAclsByDatabase * Although paging is not supported for these operations, the design decision that we took was to provide support at the client side just in case we need to add it from the server side. * Removing default response from Swagger for Acl APIs * Removing childrenNum property from FileStatusProperties * This property is always null as brought up by this issue: Azure/azure-sdk-for-net#3770 * Fixing examples for childrenNum * Fixing oav validate-example errors
- Loading branch information
1 parent
7509fbb
commit 7396427
Showing
4 changed files
with
179 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/catalog/models/acl_list.py
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/catalog/models/acl_paged.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.paging import Paged | ||
|
||
|
||
class AclPaged(Paged): | ||
""" | ||
A paging container for iterating over a list of :class:`Acl <azure.mgmt.datalake.analytics.catalog.models.Acl>` object | ||
""" | ||
|
||
_attribute_map = { | ||
'next_link': {'key': 'nextLink', 'type': 'str'}, | ||
'current_page': {'key': 'value', 'type': '[Acl]'} | ||
} | ||
|
||
def __init__(self, *args, **kwargs): | ||
|
||
super(AclPaged, self).__init__(*args, **kwargs) |
Oops, something went wrong.