Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class VersionController(rest.RestController):
@secure(checks.guest)
@wsme_pecan.wsexpose(wmodels.MyNonDBVersionModel)
def get(self):
# Get version things.
return wmodels.MyNonDBVersionModel( foo=bar, omg=cat)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment