Did I find the right examples for you? yes no

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

src/i/r/ironic-HEAD/ironic/api/controllers/v1/port.py   ironic(Download)
    "This port's meta data"
 
    node_uuid = wsme.wsproperty(types.uuid, _get_node_uuid, _set_node_uuid,
                                mandatory=True)
    "The UUID of the node this port belongs to"

src/c/e/ceilometer-HEAD/ceilometer/api/controllers/v2.py   ceilometer(Download)
    #op = wsme.wsattr(operation_kind, default='eq')
    # this ^ doesn't seem to work.
    op = wsme.wsproperty(operation_kind, get_op, set_op)
    "The comparison operator. Defaults to 'eq'."
 
        self._description = value
 
    description = wsme.wsproperty(wtypes.text, get_description,
                                  set_description)
    "The description of the constraint"
        self._description = value
 
    description = wsme.wsproperty(wtypes.text, get_description,
                                  set_description)
    "The description of the alarm"
        self._traits = map(self._convert_storage_trait, traits)
 
    traits = wsme.wsproperty(wtypes.ArrayType(Trait),
                             get_traits,
                             set_traits)

src/i/r/ironic-HEAD/ironic/api/controllers/v1/node.py   ironic(Download)
    "The physical characteristics of this node"
 
    chassis_uuid = wsme.wsproperty(types.uuid, _get_chassis_uuid,
                                   _set_chassis_uuid)
    "The UUID of the chassis this node belongs"