Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic

NMZivkovic/user.py

Created Nov 1, 2019
Embed
What would you like to do?
class User(Document):
name = StringField(required=True, max_length=50)
age = IntField(required=True)
blog = StringField(required=True, max_length=50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment