Class n.s.Data:

Part of nevow.static View Source View In Hierarchy

Implements interfaces: nevow.inevow.IResource

This is a static, in-memory resource.
Line # Kind Name Docs
46 Method __init__ Undocumented
52 Method time Return the current time as a float.
62 Method locateChild Locate another object which can be adapted to IResource
66 Method renderHTTP Render a request
def __init__(self, data, type, expires=None): (source)
Undocumented
def time(self): (source)

Return the current time as a float.

The default implementation simply uses time.time. This is mainly provided as a hook for tests to override.
def locateChild(self, ctx, segments): (source)
Locate another object which can be adapted to IResource Return a tuple of resource, path segments
def renderHTTP(self, ctx): (source)
Render a request
API Documentation for Nevow, generated by pydoctor.