The dip.io.default_io_manager module contains dip’s default i/o manager implementation.
Base class: Model
The IoManager class is the default implementation of the IIoManager interface.
Read a model from a location using a particular format.
Parameters: |
|
---|---|
Returns: | the read model. This may be the original model populated from the storage location, or it may be a different model (of an appropriate type) created from the storage location. If None is returned then it is assumed that the read was abandoned and the user informed appropriately. |
Get the list of readable storage location instances for which a location specified as a string is valid.
Parameters: |
|
---|---|
Returns: | the list of storage location instances. |
Get the list of the storage instances that can be read from using a particular format.
Parameter: | format – is the identifier of the optional format. |
---|---|
Returns: | the list of storage instances. |
Write a model to a location using a particular format.
Parameters: |
|
---|
Get the list of writeable storage location instances for which a location specified as a string is valid.
Parameters: |
|
---|---|
Returns: | the list of storage location instances. |
Get the list of the storage instances that can be written to using a particular format.
Parameter: | format – is the identifier of the optional format. |
---|---|
Returns: | the list of storage instances. |