Package gavo :: Package svcs :: Module renderers
[frames] | no frames]

Module renderers

source code

A manual registry of renderers.

Renderers are the glue between a core and some output. A service is the combination of a subset of renderers and a core.

Renderers are actually defined in web.grend, but we need some way to get at them from svcs and above, so the registry is kept here.

Functions
 
getRenderer(*args) source code
Variables
  RENDERER_REGISTRY = {'admin': ('web.adminrender', 'AdminRender...
  __package__ = 'gavo.svcs'
Function Details

getRenderer(*args)

source code 
Decorators:
  • @utils.memoized

Variables Details

RENDERER_REGISTRY

Value:
{'admin': ('web.adminrender', 'AdminRenderer'),
 'api': ('web.vodal', 'APIRenderer'),
 'availability': ('web.vosi', 'VOSIAvailabilityRenderer'),
 'capabilities': ('web.vosi', 'VOSICapabilityRenderer'),
 'coverage': ('web.metarender', 'CoverageRenderer'),
 'custom': ('web.customrender', 'CustomRenderer'),
 'dlasync': ('web.vodal', 'DatalinkAsyncRenderer'),
 'dlget': ('web.vodal', 'DatalinkGetDataRenderer'),
...