Storage for string type (8 bit strings).
An alias for Data is String.
Methods
|
|
__get__
__set__
default
validate
|
|
__get__
|
__get__ (
self,
obj,
oftype=None,
)
Property hook for attribute retrieval.
Unit uses its __key__ to access the correct data row from obj.
|
|
__set__
|
__set__ (
self,
obj,
value,
)
Property hook for attribute assignment.
Unit uses its __key__ to store value in the correct data row in obj.
|
|
default
|
default ( self )
Default value to return if the database contains no data in this
unit's row. Return empty string.
|
|
validate
|
validate ( self, value )
Validate value
Overloaded to convert data to str if value isn't a StringType.
|
|