Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return ListLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore ListLoad NameLoad Return ListComp Call NameLoad NameLoad NameLoad keyword NameLoad comprehension NameStore NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr attr If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str Dict Str Str Call AttributeLoad NameLoad attr keyword NameLoad NameLoad IfExp NameLoad BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpMod Call NameLoad Str Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Base utilities to build API operation managers and objects on top of.
 N/A copy six.moves.urllib parse cloudkittyclient exc cloudkittyclient.i18n _ cloudkittyclient.openstack.common.apiclient base getid N/A N/A obj N/A N/A N/A Extracts object ID.

    Abstracts the common pattern of allowing both an object or an
    object's ID (UUID) as a parameter when dealing with relationships.
     N/A N/A N/A N/A obj id N/A N/A N/A AttributeError N/A N/A obj N/A Manager N/A object N/A N/A Managers interact with a particular type of API.

    It works with samples, meters, alarms, etc. and provide CRUD operations for
    them.
     N/A resource_class None __init__ N/A N/A self api N/A N/A N/A N/A self api api N/A client N/A N/A self N/A N/A N/A Compatible with latest oslo-incubator.apiclient code. N/A N/A self api N/A property _create N/A N/A self url body N/A N/A N/A body N/A N/A N/A N/A N/A self api post url json body json N/A body N/A N/A N/A N/A self resource_class self body N/A _list N/A N/A self url response_key obj_class body expect_single N/A None None None False N/A N/A resp N/A N/A N/A self api get url N/A N/A N/A resp content N/A N/A N/A exc HTTPNotFound N/A body N/A N/A resp json N/A N/A obj_class None N/A N/A obj_class N/A self resource_class N/A response_key N/A N/A N/A N/A data N/A body N/A response_key N/A N/A N/A KeyError N/A N/A N/A N/A N/A data body N/A expect_single N/A N/A data N/A data N/A N/A N/A obj_class self res loaded True N/A res data res N/A _update N/A N/A self url item response_key N/A None N/A N/A N/A N/A item dirty_fields N/A N/A item N/A item N/A N/A N/A N/A N/A self api put url json N/A item dirty_fields json N/A item N/A N/A N/A N/A self resource_class self item N/A _delete N/A N/A self url N/A N/A N/A N/A N/A N/A self api delete url N/A N/A CrudManager N/A N/A base CrudManager N/A N/A A CrudManager that automatically gets its base URL. N/A base_url None build_url N/A N/A self base_url N/A None kwargs N/A N/A base_url N/A base_url N/A self base_url N/A N/A N/A N/A super CrudManager self build_url base_url kwargs N/A get N/A N/A self N/A kwargs N/A N/A kwargs N/A N/A self _filter_kwargs kwargs N/A N/A N/A self _get N/A N/A self build_url kwargs N/A create N/A N/A self N/A kwargs N/A N/A kwargs N/A N/A self _filter_kwargs kwargs N/A N/A N/A self _post N/A N/A self build_url kwargs kwargs N/A update N/A N/A self N/A kwargs N/A N/A kwargs N/A N/A self _filter_kwargs kwargs N/A params N/A N/A kwargs copy N/A N/A N/A self _put N/A N/A self build_url kwargs params N/A findall N/A N/A self base_url N/A None kwargs N/A N/A Find multiple items with attributes matching ``**kwargs``.

        :param base_url: if provided, the generated URL will be appended to it
         N/A kwargs N/A N/A self _filter_kwargs kwargs N/A rl N/A N/A self _list N/A %(base_url)s%(query)s N/A base_url query N/A N/A self build_url base_url base_url kwargs N/A kwargs N/A ?%s N/A N/A parse urlencode kwargs N/A self collection_key N/A num N/A len rl N/A N/A num 0 N/A N/A msg N/A N/A _ No %(name)s matching %(args)s. N/A name args N/A N/A self resource_class __name__ kwargs N/A N/A N/A exc HTTPNotFound msg N/A rl N/A N/A Resource N/A N/A base Resource N/A N/A A resource represents a particular instance of an object.

    Resource might be tenant, user, etc.
    This is pretty much just a bag for attributes.

    :param manager: Manager object
    :param info: dictionary representing resource attributes
    :param loaded: prevent lazy-loading if set to True
     N/A key None to_dict N/A N/A self N/A N/A N/A N/A N/A copy deepcopy N/A self _info N/A dirty_fields N/A N/A self N/A N/A N/A out N/A N/A self to_dict N/A N/A k v N/A N/A N/A self _info items N/A N/A N/A N/A N/A self __dict__ N/A k v N/A N/A N/A out N/A k N/A N/A self __dict__ N/A k N/A out N/A property update N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self manager update N/A self dirty_fields N/A N/A N/A AttributeError N/A N/A N/A N/A exc NotUpdatableError self N/A N/A