(the_product)
return {
        "title": the_product.title,
        "collection": {
            "title": the_product.title,
            "href": the_product.href,
        }
    }
Return Python dictionary suitable for JSON encoding in requests and
    responses to/from cloudfeeds.  This dictionary contains a single product
    endpoint descriptor.
Return Python dictionary suitable for JSON encoding in requests and
    responses to/from cloudfeeds.  This dictionary contains a single product
    endpoint descriptor.
Return Python dictionary suitable for JSON encoding in requests and responses to / from cloudfeeds . This dictionary contains a single product endpoint descriptor .
def render_product_dict(the_product):
    """
    Return Python dictionary suitable for JSON encoding in requests and
    responses to/from cloudfeeds.  This dictionary contains a single product
    endpoint descriptor.
    """
    return {
        "title": the_product.title,
        "collection": {
            "title": the_product.title,
            "href": the_product.href,
        }
    }
def render_product_dict ( the_product ) : return { "title" : the_product . title , "collection" : { "title" : the_product . title , "href" : the_product . href , } }