ewoksppf.bindings.NameMapperActor#

class ewoksppf.bindings.NameMapperActor(namemap=None, map_all_data=False, name='Name mapper', trigger_on_error=False, required=False, cache_if_optional=False, **kw)[source]#

Bases: AbstractActor

Maps output names to downstream input names for one source-target pair.

connect(actor)[source]#
getActorPath()#
hasFinished()#
hasStarted()#
property pool_resources: int#
setFinished()#
setMongoAttribute(attribute, value)#
setStarted()#
trigger(inData, **kwargs)#

This method

  • starts a scheduler thread (increments the thread counter),

  • calls ActorInterface._execute (actor-specific logic + triggering downstream actors),

  • ends the scheduler thread (decrements the thread counter).

When ActorInterface._execute is asynchronous, the scheduler thread needs to be deferred and executed as a callback once the asynchronous job completes.

Parameters:

inData (dict)

uploadInDataToMongo(actorData=None, script=None)#
uploadOutDataToMongo(actorData=None)#