Class to handle Config data.
More...
|
def | __str__ (self) |
| Returns the content of this instance as string. More...
|
|
def | __init__ (self, **kwargs) |
| Initialise the instance and set attributes optionally. More...
|
|
def | __repr__ (self) |
| Returns the representation of this object as string. More...
|
|
def | update (self, **kwargs) |
| Update instance arguments. More...
|
|
def | add2db (self) |
| Add an object to the database. More...
|
|
Class to handle Config data.
- Note
- This class doesn't emit publish subscribe notifications.
- Test:
- tests.test_objects.TestObjects.test_Config_objects()
◆ __str__()
def smm.objects.Config.__str__ |
( |
|
self | ) |
|
◆ get()
def smm.objects.Config.get |
( |
|
key | ) |
|
|
static |
◆ __storm_table__
string smm.objects.Config.__storm_table__ = "t_config" |
|
staticprivate |
Use given table to store all of this class inside.
◆ arguments
dictionary smm.objects.Config.arguments |
|
static |
◆ key
smm.objects.Config.key = Unicode(primary=True) |
|
static |
◆ value
smm.objects.Config.value = Unicode() |
|
static |
The documentation for this class was generated from the following file: