Ejemplo n.º 1
0
 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)
     ]
Ejemplo n.º 2
0
 def some_call():
     return C(c=AnyUri.Value(_link, text=_text))