diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2023-05-08 11:32:01 +0100 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2023-05-10 10:51:30 +0100 |
| commit | aed521d426f45b335e1c69d8b2f6d103c916f75c (patch) | |
| tree | 39eca8c658a0339cfbbe3b0e9e69232037be17f6 /openstackclient/identity/client.py | |
| parent | 6475dc58e8baa199d948c4b2d250c1fb45e0bd30 (diff) | |
| download | python-openstackclient-aed521d426f45b335e1c69d8b2f6d103c916f75c.tar.gz | |
Blacken openstackclient.identity
Black used with the '-l 79 -S' flags.
A future change will ignore this commit in git-blame history by adding a
'git-blame-ignore-revs' file.
Change-Id: I2eeade1ce6653be8e9179ecc40105182c5ff5f16
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/identity/client.py')
| -rw-r--r-- | openstackclient/identity/client.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/openstackclient/identity/client.py b/openstackclient/identity/client.py index 0292aac2..5ed81e58 100644 --- a/openstackclient/identity/client.py +++ b/openstackclient/identity/client.py @@ -43,18 +43,15 @@ AUTH_VERSIONS = { def make_client(instance): """Returns an identity service client.""" identity_client = utils.get_client_class( - API_NAME, - instance._api_version[API_NAME], - API_VERSIONS) + API_NAME, instance._api_version[API_NAME], API_VERSIONS + ) LOG.debug('Instantiating identity client: %s', identity_client) # Remember interface only if interface is set kwargs = utils.build_kwargs_dict('interface', instance.interface) client = identity_client( - session=instance.session, - region_name=instance.region_name, - **kwargs + session=instance.session, region_name=instance.region_name, **kwargs ) return client @@ -66,8 +63,11 @@ def build_option_parser(parser): '--os-identity-api-version', metavar='<identity-api-version>', default=utils.env('OS_IDENTITY_API_VERSION'), - help=_('Identity API version, default=%s ' - '(Env: OS_IDENTITY_API_VERSION)') % DEFAULT_API_VERSION, + help=_( + 'Identity API version, default=%s ' + '(Env: OS_IDENTITY_API_VERSION)' + ) + % DEFAULT_API_VERSION, ) return parser |
