@register.tag
def render_location_map(parser, token):
    contents = token.split_contents()
    if len(contents) == 2:
        tag_name, place = contents
        force_static = False
    elif len(contents) == 3:
        tag_name, place, force_static = contents
        force_static = force_static[1:-1] == 'printable'
    else:
        tag_name = token.contents.split()[0]
        raise template.TemplateSyntaxError, \
            "%r tag requires exactly 1 arguments: location" % tag_name
    return LocationDisplayNode(place, force_static)
return the value of a key. raises KeyNotFound if it doesn't exist.
dataset/ETHPy150Open mollyproject/mollyproject/molly/maps/templatetags/molly_maps.py/render_location_map--crossover with--dataset/ETHPy150Open ufora/ufora/ufora/distributed/S3/S3Interface.py/S3Interface.getKeyValue