Module Import alias Import alias Assign NameStore Call NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return GeneratorExp TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad comprehension NameStore NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A abc N/A six N/A NOTSET N/A object BaseCache N/A object N/A N/A Base Cache Abstraction

    :params parsed_url: Parsed url object.
    :params options: A dictionary with configuration parameters
      for the cache. For example:

        - default_ttl: An integer defining the default ttl for keys.
     __init__ N/A N/A self parsed_url options N/A None N/A N/A N/A self _parsed_url parsed_url N/A N/A self _options N/A options N/A N/A N/A self _default_ttl N/A int N/A N/A N/A self _options get default_ttl 0 N/A _set N/A N/A self key value ttl not_exists N/A False N/A N/A Implementations of this class have to override this method. N/A N/A abc abstractmethod set N/A N/A self key value ttl not_exists N/A False N/A N/A Sets or updates a cache entry

        .. note:: Thread-safety is required and has to be guaranteed by the
           backend implementation.

        :params key: Item key as string.
        :type key: `unicode string`
        :params value: Value to assign to the key. This can be anything that
          is handled by the current backend.
        :params ttl: Key's timeout in seconds. 0 means no timeout.
        :type ttl: int
        :params not_exists: If True, the key will be set if it doesn't exist.
          Otherwise, it'll always be set.
        :type not_exists: bool

        :returns: True if the operation succeeds, False otherwise.
         N/A N/A ttl None N/A N/A ttl N/A self _default_ttl N/A N/A N/A self _set key value ttl not_exists N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A self set key value N/A self _default_ttl N/A setdefault N/A N/A self key value N/A N/A N/A Sets the key value to `value` if it doesn't exist

        :params key: Item key as string.
        :type key: `unicode string`
        :params value: Value to assign to the key. This can be anything that
          is handled by the current backend.
         N/A N/A N/A N/A self N/A key N/A N/A N/A KeyError N/A N/A N/A self N/A key value N/A value N/A _get N/A N/A self key default N/A N/A N/A Implementations of this class have to override this method. N/A N/A abc abstractmethod get N/A N/A self key default N/A None N/A N/A Gets one item from the cache

        .. note:: Thread-safety is required and it has to be guaranteed
           by the backend implementation.

        :params key: Key for the item to retrieve from the cache.
        :params default: The default value to return.

        :returns: `key`'s value in the cache if it exists, otherwise
          `default` should be returned.
         N/A N/A N/A self _get key default N/A __getitem__ N/A N/A self key N/A N/A N/A value N/A N/A self get key NOTSET N/A N/A value NOTSET N/A N/A KeyError N/A value N/A __delitem__ N/A N/A self key N/A N/A N/A Removes an item from cache.

        .. note:: Thread-safety is required and it has to be guaranteed by
           the backend implementation.

        :params key: The key to remove.

        :returns: The key value if there's one
         N/A N/A abc abstractmethod _clear N/A N/A self N/A N/A N/A Implementations of this class have to override this method. N/A N/A abc abstractmethod clear N/A N/A self N/A N/A N/A Removes all items from the cache.

        .. note:: Thread-safety is required and it has to be guaranteed by
           the backend implementation.
         N/A N/A N/A self _clear N/A _incr N/A N/A self key delta N/A N/A N/A Implementations of this class have to override this method. N/A N/A abc abstractmethod incr N/A N/A self key delta N/A 1 N/A N/A Increments the value for a key

        :params key: The key for the value to be incremented
        :params delta: Number of units by which to increment the value.
          Pass a negative number to decrement the value.

        :returns: The new value
         N/A N/A N/A self _incr key delta N/A _append_tail N/A N/A self key tail N/A N/A N/A Implementations of this class have to override this method. N/A N/A abc abstractmethod append_tail N/A N/A self key tail N/A N/A N/A Appends `tail` to `key`'s value.

        :params key: The key of the value to which `tail` should be appended.
        :params tail: The list of values to append to the original.

        :returns: The new value
         N/A N/A N/A hasattr tail __iter__ N/A N/A N/A TypeError Tail must be an iterable N/A N/A N/A isinstance tail list N/A N/A tail N/A list tail N/A N/A N/A self _append_tail key tail N/A append N/A N/A self key value N/A N/A N/A Appends `value` to `key`'s value.

        :params key: The key of the value to which `tail` should be appended.
        :params value: The value to append to the original.

        :returns: The new value
         N/A N/A N/A self append_tail key N/A value N/A __contains__ N/A N/A self key N/A N/A N/A Verifies that a key exists.

        :params key: The key to verify.

        :returns: True if the key exists, otherwise False.
         N/A N/A abc abstractmethod _get_many N/A N/A self keys default N/A N/A N/A Implementations of this class have to override this method. N/A N/A N/A k N/A N/A self get k default default N/A k keys N/A N/A abc abstractmethod get_many N/A N/A self keys default N/A NOTSET N/A N/A Gets keys' value from cache

        :params keys: List of keys to retrieve.
        :params default: The default value to return for each key that is not
          in the cache.

        :returns: A  generator of (key, value)
         N/A N/A N/A self _get_many keys default N/A _set_many N/A N/A self data ttl N/A N/A N/A Implementations of this class have to override this method. N/A N/A key value N/A N/A data items N/A N/A N/A N/A self set key value ttl ttl N/A N/A abc abstractmethod set_many N/A N/A self data ttl N/A None N/A N/A Puts several items into the cache at once

        Depending on the backend, this operation may or may not be efficient.
        The default implementation calls set for each (key, value) pair
        passed, other backends support set_many operations as part of their
        protocols.

        :params data: A dictionary like {key: val} to store in the cache.
        :params ttl: Key's timeout in seconds.
         N/A N/A ttl None N/A N/A ttl N/A self _default_ttl N/A N/A N/A self _set_many data ttl N/A update N/A N/A self N/A kwargs N/A N/A Sets several (key, value) paris.

        Refer to the `set_many` docstring.
         N/A N/A N/A self set_many kwargs ttl N/A self _default_ttl N/A _unset_many N/A N/A self keys N/A N/A N/A Implementations of this class have to override this method. N/A key keys N/A N/A N/A self N/A key N/A N/A abc abstractmethod unset_many N/A N/A self keys N/A N/A N/A Removes several keys from the cache at once

        :params keys: List of keys to unset.
         N/A N/A N/A self _unset_many keys N/A N/A N/A N/A six add_metaclass N/A abc ABCMeta