datafinder-team team mailing list archive
-
datafinder-team team
-
Mailing list archive
-
Message #00030
[Bug 589131] Re: Add property callback function performImport.
** Changed in: datafinder
Status: Fix Committed => Fix Released
--
Add property callback function performImport.
https://bugs.launchpad.net/bugs/589131
You received this bug notification because you are a member of
DataFinderTeam, which is subscribed to DataFinder.
Status in DataFinder - flexible data management: Fix Released
Bug description:
Relates to: datafinder.script_api.item.item_support.performImport
Add a parameter which allows specification of a call back function which is called on every item which should be imported with following signature:
@param itemDescription: Currently traversed item.
@type itemDescription: ItemDescription
@return: Properties which should be set for the imported item.
@rtype: C{dict} of C{unicode}, C{object}
This would simplify imports from the local file system to the shared repository as you can exactly determine the properties (e.g. data store, data type) of the imported item.