| Home | Trees | Index | Help |
|
|---|
| Package kiwi :: Module model :: Class PickledModel |
|
Model --+
|
PickledModel
| Method Summary | |
|---|---|
Saves the instance to a pickle filename. | |
Sets the name of the file which will be used to pickle the model | |
Loads an instance from a pickle file; if it fails for some reason, create a new instance. (Class method) | |
| Inherited from Model | |
Temporarily block a proxy from receiving any notification. | |
disable automatic notification to proxies based on __setattr__. | |
Sets up the variables so the Model's getattr hook and proxy notification work properly. | |
Removes all proxies attached to Model | |
Notify proxies that an attribute value has changed. | |
Attach a proxy to an attribute. | |
Re-enable notifications to a proxy | |
Deattach a proxy completely from the model | |
Detach a proxy from an attribute. | |
| Instance Method Details |
|---|
save(self, filename=None)Saves the instance to a pickle filename. If no filename argument is provided, will try to use the internal _filename attribute that is set using set_filename()
|
set_filename(self, filename)Sets the name of the file which will be used to pickle the model |
| Class Method Details |
|---|
unpickle(cls, filename=None)Loads an instance from a pickle file; if it fails for some reason, create a new instance.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Oct 9 12:40:56 2006 | http://epydoc.sf.net |