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

20200604 track1 sdk automation/azure mgmt kusto #11814

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sdk/kusto/azure-mgmt-kusto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 0.8.0 (2020-05-31)

**Breaking changes**

- The type of parameter is_followed is changed from string to bool

## 0.7.0 (2020-03-20)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ class ReadWriteDatabase(Database):
:param statistics: The statistics of the database.
:type statistics: ~azure.mgmt.kusto.models.DatabaseStatistics
:ivar is_followed: Indicates whether the database is followed.
:vartype is_followed: str
:vartype is_followed: bool
"""

_validation = {
Expand All @@ -1898,7 +1898,7 @@ class ReadWriteDatabase(Database):
'soft_delete_period': {'key': 'properties.softDeletePeriod', 'type': 'duration'},
'hot_cache_period': {'key': 'properties.hotCachePeriod', 'type': 'duration'},
'statistics': {'key': 'properties.statistics', 'type': 'DatabaseStatistics'},
'is_followed': {'key': 'properties.isFollowed', 'type': 'str'},
'is_followed': {'key': 'properties.isFollowed', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ class ReadWriteDatabase(Database):
:param statistics: The statistics of the database.
:type statistics: ~azure.mgmt.kusto.models.DatabaseStatistics
:ivar is_followed: Indicates whether the database is followed.
:vartype is_followed: str
:vartype is_followed: bool
"""

_validation = {
Expand All @@ -1898,7 +1898,7 @@ class ReadWriteDatabase(Database):
'soft_delete_period': {'key': 'properties.softDeletePeriod', 'type': 'duration'},
'hot_cache_period': {'key': 'properties.hotCachePeriod', 'type': 'duration'},
'statistics': {'key': 'properties.statistics', 'type': 'DatabaseStatistics'},
'is_followed': {'key': 'properties.isFollowed', 'type': 'str'},
'is_followed': {'key': 'properties.isFollowed', 'type': 'bool'},
}

def __init__(self, *, location: str=None, soft_delete_period=None, hot_cache_period=None, statistics=None, **kwargs) -> None:
Expand Down
2 changes: 1 addition & 1 deletion sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# regenerated.
# --------------------------------------------------------------------------

VERSION = "0.7.0"
VERSION = "0.8.0"
4 changes: 3 additions & 1 deletion sdk/kusto/azure-mgmt-kusto/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
pass

# Version extraction inspired from 'requests'
with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd:
with open(os.path.join(package_folder_path, 'version.py')
if os.path.exists(os.path.join(package_folder_path, 'version.py'))
else os.path.join(package_folder_path, '_version.py'), 'r') as fd:
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)

Expand Down
Loading