Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)
This class is responsible for loading and dropping from and to json given
a :mongoengine.document.Document

src/f/l/Flask-CuddlyRest-0.1.14/flask_cuddlyrest/views.py   Flask-CuddlyRest(Download)
'''
from flask.ext.restful import Resource
from flask.ext.cuddlyrest.marshaller import Marshaller
from flask import request, current_app
from mongoengine.queryset import DoesNotExist

src/f/l/Flask-CuddlyRest-HEAD/flask_cuddlyrest/views.py   Flask-CuddlyRest(Download)
'''
from flask.ext.restful import Resource
from flask.ext.cuddlyrest.marshaller import Marshaller
from flask import request, current_app
from mongoengine.queryset import DoesNotExist

src/f/l/Flask-CuddlyRest-HEAD/test/test_marshaller.py   Flask-CuddlyRest(Download)
    EmbeddedDocument, Document, EmbeddedDocumentField, StringField, DictField)
 
from flask.ext.cuddlyrest.marshaller import Marshaller
 
 
    def _verify(self, doc_cls, load, expected, validate_context, check):
        doc = doc_cls()
 
        m = Marshaller(doc)
        m.loads(load)

src/f/l/Flask-CuddlyRest-0.1.14/test/test_marshaller.py   Flask-CuddlyRest(Download)
    EmbeddedDocument, Document, EmbeddedDocumentField, StringField, DictField)
 
from flask.ext.cuddlyrest.marshaller import Marshaller
 
 
    def _verify(self, doc_cls, load, expected, validate_context, check):
        doc = doc_cls()
 
        m = Marshaller(doc)
        m.loads(load)