Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/b/o/bokeh-0.4.4/bokeh/server/views/backbone.py   bokeh(Download)
    sess.load_all_callbacks()    
    if request.method == 'POST':
        jsondata = protocol.deserialize_json(request.data.decode('utf-8'))
        sess.store_callbacks(jsondata)
    else:
    sess = bokeh_app.backbone_storage.get_session(docid)    
    sess.load_all()
    data = protocol.deserialize_json(request.data.decode('utf-8'))
    if client == 'python':
        sess.load_broadcast_attrs(data, events=None)
    sess.load_all()
 
    modeldata = protocol.deserialize_json(request.data.decode('utf-8'))
    modeldata = [{'type' : typename,
                  'attributes' : modeldata}]
    sess.load_all()
    init_bokeh(sess)
    modeldata = protocol.deserialize_json(request.data.decode('utf-8'))
    #patch id is not passed...
    modeldata['id'] = id
    sess.load_all()
    model = sess._models[id]
    data = protocol.deserialize_json(request.data.decode('utf-8'))
    args = data.get('args', [])
    kwargs = data.get('kwargs', {})

src/a/m/AMU-Poznan2013-HEAD/shmir_api/decorators.py   AMU-Poznan2013(Download)
        def decorated(*args, **kwargs):
            data = request.data.decode('utf-8')
            try:
                request_json = json.loads(data)
            except (ValueError, KeyError, TypeError):

src/f/l/flask-oauthprovider-0.1.3/flask_oauthprovider.py   flask-oauthprovider(Download)
                        body = request.form.to_dict()
                    else:
                        body = request.data.decode("utf-8")
                    valid = self.verify_request(request.url.decode("utf-8"),
                            http_method=request.method.decode("utf-8"),

src/f/l/flask-oauthprovider-HEAD/flask_oauthprovider.py   flask-oauthprovider(Download)
                        body = request.form.to_dict()
                    else:
                        body = request.data.decode("utf-8")
                    verify_result = self.verify_request(request.url.decode("utf-8"),
                            http_method=request.method.decode("utf-8"),