Part of fixture.loadable.loadable View In Hierarchy
Known subclasses: fixture.loadable.loadable.EnvLoadableFixture
knows how to load data into something useful.
This is an abstract class and cannot be used directly. You can use a LoadableFixture that already knows how to load into a specific medium, such as SQLAlchemyFixture, or create your own to build your own to load DataSet objects into custom storage media.
Method | __init__ | Undocumented |
Class | StorageMediumAdapter | common interface for working with storable objects. |
Class | StorageMediaNotFound | Looking up a storable object failed. |
Class | LoadQueue | Keeps track of what class instances were loaded. |
Method | attach_storage_medium | Undocumented |
Method | begin | Undocumented |
Method | commit | Undocumented |
Method | load | Undocumented |
Method | load_dataset | load this dataset and all its dependent datasets. |
Method | resolve_row_references | resolve this DataRow object's referenced values. |
Method | rollback | Undocumented |
Method | then_finally | Undocumented |
Method | unload | Undocumented |
Method | unload_dataset | Undocumented |
Method | wrap_in_transaction | Undocumented |
Inherited from Fixture:
Class | Data | loads one or more DataSet objects and provides an interface into that |
Method | __iter__ | Undocumented |
Method | with_data | returns a decorator to wrap data around a method. |
Method | data | returns a Data object for datasets. |
level is essentially the order of processing (going from dataset to dependent datasets). Child datasets are always loaded before the parent. The level is important for visualizing the chain of dependencies : 0 is the bottom, and thus should be the first set of objects unloaded