Did I find the right examples for you? yes no

All Samples(9)  |  Call(6)  |  Derive(1)  |  Import(2)

src/s/o/solum-HEAD/solum/api/controllers/v1/datamodel/types.py   solum(Download)
        self.__name = value
 
    name = wtypes.wsproperty(str, get_name, set_name, mandatory=True)
    "Name of the resource."
 

src/s/o/solum-HEAD/solum/api/controllers/v1/datamodel/sensor.py   solum(Download)
        self._value = value
 
    value = wtypes.wsproperty(str, get_value, set_value, mandatory=False)
    "Value of the sensor."
 

src/w/s/WSME-0.6/wsme/tests/test_types.py   WSME(Download)
                self._aint = value
 
            aint = types.wsproperty(int, get_aint, set_aint, mandatory=True)
 
        types.register_type(WithWSProp)

src/w/s/wsme-HEAD/wsme/tests/test_types.py   wsme(Download)
                self._aint = value
 
            aint = types.wsproperty(int, get_aint, set_aint, mandatory=True)
 
        types.register_type(WithWSProp)

src/w/s/WSME-0.6/wsme/tests/test_api.py   WSME(Download)
        class ComplexType(object):
            def foo(self):
                pass
 
            attr = wsme.types.wsproperty(int, foo, foo, mandatory=True)

src/w/s/wsme-HEAD/wsme/tests/test_api.py   wsme(Download)
        class ComplexType(object):
            def foo(self):
                pass
 
            attr = wsme.types.wsproperty(int, foo, foo, mandatory=True)

src/w/s/WSME-0.6/wsme/__init__.py   WSME(Download)
from wsme.api import signature
from wsme.rest import expose, validate
from wsme.root import WSRoot
from wsme.types import wsattr, wsproperty, Unset
 

src/w/s/wsme-HEAD/wsme/__init__.py   wsme(Download)
from wsme.api import signature
from wsme.rest import expose, validate
from wsme.root import WSRoot
from wsme.types import wsattr, wsproperty, Unset
 

src/c/e/ceilometer-HEAD/ceilometer/api/controllers/v2.py   ceilometer(Download)
class AdvEnum(wtypes.wsproperty):
    """Handle default and mandatory for wtypes.Enum
    """
    def __init__(self, name, *args, **kwargs):
        self._name = '_advenum_%s' % name