def index(ctx): return [ Index( Updated=package.package_cdate, Package=AnyUri.Value(text=package.package_name, href=package.latest_release.rdf_about), Description=html.fromstring(package.package_description), ) for package in ctx.udc.session.query(Package) ]
def some_call(): return C(c=AnyUri.Value(_link, text=_text))