class Bibliography(schema.Object): properties = { "eid": schema.String(max_length=40), "created": schema.String(max_length=50), "modified": schema.String(max_length=50), "description": schema.String(max_length=float('inf')), }
class ToDoNote(schema.Object): properties = { 'id': schema.Integer(minimum=0), 'text': schema.String(max_length=100), 'complete': schema.Boolean, 'percent_complete': schema.Number }
class MatrixDescriptor(schema.Object): """ Describes the options to create a term document matrix. """ properties = { 'bibliography': schema.String(max_length=40), 'regularise': schema.Boolean(default=True), 'fields': MatrixFields }
class Env(environment.Environment): """ Environment variables wrapper """ properties = { 'DEBUG': schema.Boolean(default=False), 'DATABASE_URL': schema.String(default='sqlite:///timetable.db'), 'ATTEMPTS': schema.Integer(default=1) }
class Document(schema.Object): properties = { 'eid': schema.String(max_length=40), 'created': schema.String(max_length=50), 'modified': schema.String(max_length=50), 'bibliography_eid': schema.String(max_length=40), 'title': schema.String(max_length=512), 'description': schema.String(max_length=float('inf')), 'keywords': schema.String(max_length=512), 'language': schema.String(max_length=16) }
class HighScore(schema.Object): properties = { 'name': schema.String(max_length=100), 'score': schema.Integer(minimum=0, maximum=100), 'completed': schema.Boolean(default=False), 'difficulty': schema.Enum(enum=['easy', 'medium', 'hard']), 'location': Location(default={ 'latitude': 0.0, 'longitude': 0.0 }) }
class Matrix(schema.Object): properties = { "eid": schema.String(max_length=40), 'created': schema.String(max_length=50), 'modified': schema.String(max_length=50), "bibliography_eid": schema.String(max_length=40), "bibliography_options": schema.String(max_length=512), "processing_options": schema.String(max_length=512), }
class Ranking(schema.Object): properties = { "eid": schema.String(max_length=40), 'created': schema.String(max_length=50), 'modified': schema.String(max_length=50), "term_document_matrix_eid": schema.String(max_length=40), "kind": schema.String(max_length=16), "build_options": schema.String(max_length=512), }
class Env(environment.Environment): properties = { 'DEBUG': schema.Boolean(default=False), 'DATABASE_URL': schema.String(default='sqlite:///test.db'), }
class CarSchema(schema.Object): properties = { 'make': schema.String(max_length=100), 'model': schema.String(max_length=50), 'owner': PersonSchema }
class PersonSchema(schema.Object): properties = {'name': schema.String(max_length=100), 'age': schema.Integer}
class Star(schema.Object): properties = {'name': schema.String(max_length=255)}