Class ExternalData
Holds external-specific data about one of the other BBS property
objects. This property, which exists in all of the property objects made
available by the hermes
module, can be used to store data
about the associated property object. For example, information about the
current user can be stored in the user.data
object.
Data stored in this object will automatically be stored by the Hermes
External runtime. This data is not accessible in any other way. You do
not need to load or save this data, the runtime takes care of that for
you. You also do not need to manually create new properties inside of
this object, simply assign a value to a property to create it.
Because of this automatic management of data, data
objects can only hold one of the Python primitive types:
int
, long
, str
,
tuple
, list
and dict
. Trying to
store any other type of object in the data
object will
result in an exception being thrown. Likewise, trying to store a
forbidden type in one of the three container types (tuple
,
list
and dict
) will also result in an
exception.
This object cannot be constructed and is instead made available
in the various property objects of the hermes
module as a property with the name
data
.
Method Summary |
|
__init__ (self)
Do not construct this object; used the appropriate data
property in the various property objects of the hermes
module. |
__init__(self)
(Constructor)
Do not construct this object; used the appropriate data
property in the various property objects of the hermes
module.
-
|