The keystoneclient.utils Module

keystoneclient.utils.arg(*args, **kwargs)
keystoneclient.utils.find_resource(manager, name_or_id)

Helper for the _find_* methods.

keystoneclient.utils.hash_signed_token(signed_text)
keystoneclient.utils.isunauthenticated(f)

Checks to see if the function is marked as not requiring authentication with the @unauthenticated decorator. Returns True if decorator is set to True, False otherwise.

keystoneclient.utils.pretty_choice_list(l)
keystoneclient.utils.print_dict(d, wrap=0)

pretty table prints dictionaries.

Wrap values to max_length wrap if wrap>0

keystoneclient.utils.print_list(objs, fields, formatters={}, order_by=None)
keystoneclient.utils.string_to_bool(arg)
keystoneclient.utils.unauthenticated(f)

Adds ‘unauthenticated’ attribute to decorated function.

Usage:

@unauthenticated
def mymethod(f):
    ...

Previous topic

The keystoneclient.shell Module

Next topic

The keystoneclient.v2_0.client Module

This Page