Skip to content

Commit 45934b6

Browse files
changlong-liuSDK Automation
and
SDK Automation
authored
20200604 track1 sdk automation/azure mgmt kusto (#11814)
* Generated from b13e3195537e35aabeb53650ade2e7ec8f154b24 Update isFollowed property to boolean * add changelog and run test * correct changelog * bump version * change version Co-authored-by: SDK Automation <[email protected]>
1 parent fcb76a2 commit 45934b6

File tree

6 files changed

+331
-778
lines changed

6 files changed

+331
-778
lines changed

sdk/kusto/azure-mgmt-kusto/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 0.8.0 (2020-05-31)
4+
5+
**Breaking changes**
6+
7+
- The type of parameter is_followed is changed from string to bool
8+
39
## 0.7.0 (2020-03-20)
410

511
**Features**

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ class ReadWriteDatabase(Database):
18761876
:param statistics: The statistics of the database.
18771877
:type statistics: ~azure.mgmt.kusto.models.DatabaseStatistics
18781878
:ivar is_followed: Indicates whether the database is followed.
1879-
:vartype is_followed: str
1879+
:vartype is_followed: bool
18801880
"""
18811881

18821882
_validation = {
@@ -1898,7 +1898,7 @@ class ReadWriteDatabase(Database):
18981898
'soft_delete_period': {'key': 'properties.softDeletePeriod', 'type': 'duration'},
18991899
'hot_cache_period': {'key': 'properties.hotCachePeriod', 'type': 'duration'},
19001900
'statistics': {'key': 'properties.statistics', 'type': 'DatabaseStatistics'},
1901-
'is_followed': {'key': 'properties.isFollowed', 'type': 'str'},
1901+
'is_followed': {'key': 'properties.isFollowed', 'type': 'bool'},
19021902
}
19031903

19041904
def __init__(self, **kwargs):

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/models/_models_py3.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1876,7 +1876,7 @@ class ReadWriteDatabase(Database):
18761876
:param statistics: The statistics of the database.
18771877
:type statistics: ~azure.mgmt.kusto.models.DatabaseStatistics
18781878
:ivar is_followed: Indicates whether the database is followed.
1879-
:vartype is_followed: str
1879+
:vartype is_followed: bool
18801880
"""
18811881

18821882
_validation = {
@@ -1898,7 +1898,7 @@ class ReadWriteDatabase(Database):
18981898
'soft_delete_period': {'key': 'properties.softDeletePeriod', 'type': 'duration'},
18991899
'hot_cache_period': {'key': 'properties.hotCachePeriod', 'type': 'duration'},
19001900
'statistics': {'key': 'properties.statistics', 'type': 'DatabaseStatistics'},
1901-
'is_followed': {'key': 'properties.isFollowed', 'type': 'str'},
1901+
'is_followed': {'key': 'properties.isFollowed', 'type': 'bool'},
19021902
}
19031903

19041904
def __init__(self, *, location: str=None, soft_delete_period=None, hot_cache_period=None, statistics=None, **kwargs) -> None:

sdk/kusto/azure-mgmt-kusto/azure/mgmt/kusto/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# regenerated.
1010
# --------------------------------------------------------------------------
1111

12-
VERSION = "0.7.0"
12+
VERSION = "0.8.0"

sdk/kusto/azure-mgmt-kusto/setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
pass
3737

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

0 commit comments

Comments
 (0)