stacker/lookups/handlers/hook_data.py
def handler(value, context, **kwargs):
    """Returns the value of a key for a given hook in hook_data.

    Format of value:

        <hook_name>::<key>
    """
    try:
        hook_name, key = value.split("::")
    except ValueError:
        raise ValueError("Invalid value for hook_data: %s. Must be in "
                         "<hook_name>::<key> format." % value)

    return context.hook_data[hook_name][key]
Returns the value of a key for a given hook in hook_data.

    Format of value:

        <hook_name>::<key>
    
Returns the value of a key for a given hook in hook_data.
Format of value.


Returns the value of a key for a given hook in hook_data . Format of value .
def handler(value, context, **kwargs):
    try:
        hook_name, key = value.split("::")
    except ValueError:
        raise ValueError("Invalid value for hook_data: %s. Must be in "
                         "<hook_name>::<key> format." % value)
    return context.hook_data[hook_name][key]
def handler ( value , context , ** kwargs ) : try : hook_name , key = value . split ( "::" ) except ValueError : raise ValueError ( "Invalid value for hook_data: %s. Must be in " "<hook_name>::<key> format." % value ) return context . hook_data [ hook_name ] [ key ]
Returns the value of a key for a given hook in hook_data.
Returns the value of a key for a given hook in hook_data .
"""Returns the value of a key for a given hook in hook_data.

    Format of value:

        <hook_name>::<key>
    """
value
context