Skip to content

Instantly share code, notes, and snippets.

@danielholmstrom
Created May 8, 2014 11:37
Show Gist options
  • Save danielholmstrom/93806694db7c47e2ebae to your computer and use it in GitHub Desktop.
Save danielholmstrom/93806694db7c47e2ebae to your computer and use it in GitHub Desktop.
from colander import (
MappingSchema,
SchemaNode,
String,
)
class Login(MappingSchema):
username = SchemaNode(String())
password = SchemaNode(String())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment