** 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.



_______________________________________________
Mailing list: https://launchpad.net/~datafinder-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~datafinder-team
More help   : https://help.launchpad.net/ListHelp

Antwort per Email an