Add property callback function performImport.

Bug #589131 reported by Tobias Schlauch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DataFinder
Fix Released
Low
Tobias Schlauch

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.

Tags: script-api

Related branches

Changed in datafinder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.