MCPcopy Index your code
hub / github.com/clips/pattern / render

Method render

pattern/db/__init__.py:1334–1342  ·  view source on GitHub ↗

This method should be overwritten to return formatted table output (XML, HTML, RSS, ...) For web apps, the given path should list all parts in the relative URL path, and query is a dictionary of all POST and GET variables sent from the client. For example: http:/

(self, *path, **query)

Source from the content-addressed store, hash-verified

1332 self.db.create(self._table, self.schema)
1333
1334 def render(self, *path, **query):
1335 """ This method should be overwritten to return formatted table output (XML, HTML, RSS, ...)
1336 For web apps, the given path should list all parts in the relative URL path,
1337 and query is a dictionary of all POST and GET variables sent from the client.
1338 For example: http://books.com/science/new
1339 => ["science", "new"]
1340 => render() data from db.books.filter(ALL, category="science", new=True).
1341 """
1342 pass
1343
1344 # CherryPy-specific.
1345 def default(self, *path, **query):

Callers 2

defaultMethod · 0.95
renderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected