Merge "Add the version attribute to the Client class"

This commit is contained in:
Jenkins 2015-12-08 20:13:33 +00:00 committed by Gerrit Code Review
commit 186dfb4165
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,8 @@ class Client(object):
"""
version = '1'
def __init__(self, username=None, api_key=None, project_id=None,
auth_url='', insecure=False, timeout=None, tenant_id=None,
proxy_tenant_id=None, proxy_token=None, region_name=None,

View File

@ -47,6 +47,8 @@ class Client(object):
...
"""
version = '2'
def __init__(self, username=None, api_key=None, project_id=None,
auth_url='', insecure=False, timeout=None, tenant_id=None,
proxy_tenant_id=None, proxy_token=None, region_name=None,