def item_iterator(request, item, schema, name=""): from hidoi.displayobject import required_of from hidoi.displayobject import optional_of yield required_of(item, "name") yield required_of(item, "value") yield optional_of(item, "created_at")
def item_iterator(request, item, schema, name=""): yield required_of(item, "name") yield required_of(item, "value")