|
1234567891011121314151617181920212223242526272829303132333435363738 |
-
-
-
-
-
-
-
-
-
- from . import ma
-
-
- class UserSchema(ma.Schema):
- class Meta:
- fields = ('id', 'email', 'name')
- ordered = True
-
-
- class ToolSchema(ma.Schema):
- class Meta:
- fields = ('id', 'name', 'description', 'developer', 'developerUrl', 'projectUrl', 'repositoryUrl', 'license', 'scriptingLanguage', 'expertiseToUse', 'expertiseToHost', 'dependencies', 'ingestFormats', 'outputFormats', 'status')
- ordered = True
-
- class PracticeSchema(ma.Schema):
- class Meta:
- fields = ('id', 'name', 'description', 'experimental', 'lessonsLearned', 'references')
- ordered = True
-
- class BookSchema(ma.Schema):
- class Meta:
- fields = ('id', 'name', 'description', 'author', 'year', 'bookUrl', 'isbn')
- ordered = True
-
-
- class DeveloperSchema(ma.Schema):
- class Meta:
- fields = ('developer', 'developerUrl')
- ordered = True
|