Did I find the right examples for you? yes no

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

src/w/s/WSME-0.6/wsmeext/soap/protocol.py   WSME(Download)
            el.set(type_qn, type_registry.get(datatype))
            if not isinstance(value, wsme.types.text):
                value = wsme.types.text(value)
            el.text = value
        return el

src/w/s/wsme-HEAD/wsmeext/soap/protocol.py   wsme(Download)
            el.set(type_qn, type_registry.get(datatype))
            if not isinstance(value, wsme.types.text):
                value = wsme.types.text(value)
            el.text = value
        return el

src/w/s/WSME-0.6/wsme/rest/json.py   WSME(Download)
def text_fromjson(datatype, value):
    if value is not None and isinstance(value, wsme.types.bytes):
        return wsme.types.text(value)
    return value
 

src/w/s/wsme-HEAD/wsme/rest/json.py   wsme(Download)
def text_fromjson(datatype, value):
    if value is not None and isinstance(value, wsme.types.bytes):
        return wsme.types.text(value)
    return value
 

src/w/s/WSME-0.6/wsme/rest/xml.py   WSME(Download)
def unicode_fromxml(datatype, element):
    if element.get('nil') == 'true':
        return None
    return wsme.types.text(element.text) if element.text else six.u('')
 

src/w/s/wsme-HEAD/wsme/rest/xml.py   wsme(Download)
def unicode_fromxml(datatype, element):
    if element.get('nil') == 'true':
        return None
    return wsme.types.text(element.text) if element.text else six.u('')
 

src/w/s/wsme-HEAD/wsmeext/tests/test_sqlalchemy_types.py   wsme(Download)
import datetime
 
import wsmeext.sqlalchemy.types
 
from wsme.types import text, Unset, isarray

src/w/s/wsme-HEAD/tests/test_flask.py   wsme(Download)
import unittest
from flask import Flask, json, abort
from wsmeext.flask import signature
from wsme.api import Response
from wsme.types import Base, text

src/w/s/wsme-HEAD/tests/test_cornice.py   wsme(Download)
from pyramid.httpexceptions import HTTPUnauthorized
 
from wsme.types import text, Base, HostRequest
from wsmeext.cornice import signature
 

src/w/s/wsme-HEAD/tests/pecantest/test/controllers/ws.py   wsme(Download)
# encoding=utf8
from pecan.rest import RestController
 
from wsme.types import Base, text, wsattr
 

  1 | 2  Next