From 49918e5c7c34a84d68c47480359379c6c90aa284 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 20 Mar 2019 01:35:49 +0000 Subject: [PATCH 1/2] Generated from 65ba1e622bf3e1d524713c38c322eea38b4b1af1 Updates API version in new specs and examples --- .../azure/mgmt/resourcegraph/operations/operations.py | 4 ++-- .../azure/mgmt/resourcegraph/resource_graph_client.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/operations/operations.py b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/operations/operations.py index d8ee6f0a57a1..a941a2bff7c9 100644 --- a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/operations/operations.py +++ b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/operations/operations.py @@ -23,7 +23,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: API version. Constant value: "2018-09-01-preview". + :ivar api_version: API version. Constant value: "2019-04-01". """ models = models @@ -33,7 +33,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2018-09-01-preview" + self.api_version = "2019-04-01" self.config = config diff --git a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/resource_graph_client.py b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/resource_graph_client.py index 6f5ff0e93e33..e45d61791545 100644 --- a/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/resource_graph_client.py +++ b/azure-mgmt-resourcegraph/azure/mgmt/resourcegraph/resource_graph_client.py @@ -69,7 +69,7 @@ def __init__( super(ResourceGraphClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '2018-09-01-preview' + self.api_version = '2019-04-01' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) From 31c8bd13b4960531a92fba9dbe56b99284eba711 Mon Sep 17 00:00:00 2001 From: azuresdkci Date: Wed, 20 Mar 2019 01:38:48 +0000 Subject: [PATCH 2/2] Packaging update of azure-mgmt-resourcegraph --- azure-mgmt-resourcegraph/MANIFEST.in | 1 + azure-mgmt-resourcegraph/README.rst | 22 +++------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/azure-mgmt-resourcegraph/MANIFEST.in b/azure-mgmt-resourcegraph/MANIFEST.in index 6ceb27f7a96e..e4884efef41b 100644 --- a/azure-mgmt-resourcegraph/MANIFEST.in +++ b/azure-mgmt-resourcegraph/MANIFEST.in @@ -1,3 +1,4 @@ +recursive-include tests *.py *.yaml include *.rst include azure/__init__.py include azure/mgmt/__init__.py diff --git a/azure-mgmt-resourcegraph/README.rst b/azure-mgmt-resourcegraph/README.rst index 96a089ff2698..eac5fcf7dc63 100644 --- a/azure-mgmt-resourcegraph/README.rst +++ b/azure-mgmt-resourcegraph/README.rst @@ -14,25 +14,6 @@ For the older Azure Service Management (ASM) libraries, see For a more complete set of Azure libraries, see the `azure `__ bundle package. -Compatibility -============= - -**IMPORTANT**: If you have an earlier version of the azure package -(version < 1.0), you should uninstall it before installing this package. - -You can check the version using pip: - -.. code:: shell - - pip freeze - -If you see azure==0.11.0 (or any version below 1.0), uninstall it first: - -.. code:: shell - - pip uninstall azure - - Usage ===== @@ -47,3 +28,6 @@ Provide Feedback If you encounter any bugs or have suggestions, please file an issue in the `Issues `__ section of the project. + + +.. image:: https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-resourcegraph%2FREADME.png