Register of Registers Renderer (RoR)¶
Note
To use this, ensure pyldapi.setup()
is called before calling Flask’s app.run()
. See RoR Setup for more information.
Example Usage¶
A Flask route at the root of the application serving the Register of Registers page to the client.
@app.route('/')
def index():
cofc = RegisterOfRegistersRenderer(
request,
API_BASE,
"Register of Registers",
"A register of all of my registers.",
"./cofc.ttl"
)
return cofc.render()