Skip to content

Commit

Permalink
Fix multiapi client
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Jul 13, 2018
1 parent 22c1fd8 commit 8065b70
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,14 @@ class KeyVaultManagementClient(MultiApiClientMixin, SDKClient):
)

def __init__(self, credentials, subscription_id, api_version=None, base_url=None, profile=KnownProfiles.default):
self.config = KeyVaultManagementClientConfiguration(credentials, subscription_id, base_url)
super(KeyVaultManagementClient, self).__init__(
credentials=credentials,
subscription_id=subscription_id,
credentials,
self.config,
api_version=api_version,
base_url=base_url,
profile=profile
)

self.config = KeyVaultManagementClient(credentials, subscription_id, base_url)
self._client = ServiceClient(self.config.credentials, self.config)

############ Generated from here ############

@classmethod
Expand All @@ -113,7 +110,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
from .v2018_02_14 import models
return models
raise NotImplementedError("APIVersion {} is not available".format(api_version))

@property
def operations(self):
"""Instance depends on the API version:
Expand Down

0 comments on commit 8065b70

Please sign in to comment.