Module ImportFrom alias Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults NameLoad body Expr Str TryExcept body Return SubscriptLoad Call NameLoad NameLoad Str Index Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body If UnaryOpNot NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list
N/A threading local N/A _local N/A local get_current_context N/A N/A silent N/A False N/A N/A Returns the current click context.  This can be used as a way to
    access the current context object from anywhere.  This is a more implicit
    alternative to the :func:`pass_context` decorator.  This function is
    primarily useful for helpers such as :func:`echo` which might be
    interested in changing it's behavior based on the current context.

    To push the current context, :meth:`Context.scope` can be used.

    .. versionadded:: 5.0

    :param silent: is set to `True` the return value is `None` if no context
                   is available.  The default behavior is to raise a
                   :exc:`RuntimeError`.
     N/A N/A N/A N/A N/A getattr _local stack N/A -1 N/A N/A N/A N/A AttributeError IndexError N/A N/A N/A silent N/A N/A N/A RuntimeError There is no active click context. N/A push_context N/A N/A ctx N/A N/A N/A Pushes a new context to the current stack. N/A N/A N/A N/A N/A N/A _local __dict__ setdefault stack N/A append ctx N/A pop_context N/A N/A N/A N/A N/A Removes the top level from the stack. N/A N/A N/A N/A _local stack pop N/A resolve_color_default N/A N/A color N/A None N/A N/A "Internal helper to get the default value of the color flag.  If a
    value is passed it's returned unchanged, otherwise it's looked up from
    the current context.
     N/A N/A color None N/A N/A color N/A ctx N/A get_current_context silent True N/A N/A ctx None N/A N/A N/A ctx color N/A