Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)
similar to {{set-id name}}value{{/set-id}} but for python programs (in place side-effect to env)

        def setId(env, name, value):
    "similar to {{set-id name}}value{{/set-id}} but for python programs (in place side-effect to env)"
    relative_name = getName(env, name)
    env[relative_name] = value
        


src/w/h/whiff-1.1/whiff/servers/fsCSI/fsCSIroot/prepareData.py   whiff(Download)
        Attinfo = NameToAttInfo.items()
        Attinfo.sort()
        whiffenv.setId(env, "attInfo", Attinfo)
        whiffenv.setId(env, "completions", completions)
        whiffenv.setId(env, "ids", ids)
        whiffenv.setId(env, "start", start)
        whiffenv.setId(env, "stop", stop)

src/w/h/whiff-1.1/whiff/middleware/sortTable.py   whiff(Download)
            newdata.reverse()
        newdata = newdata[start:end]
        whiffenv.setId(env, "Data", newdata)
        return self.deliver_page(self.page, env, start_response)