Package gavo :: Package rscdef :: Module scripting :: Class ScriptingMixin
[frames] | no frames]

Class ScriptingMixin

source code

object --+
         |
        ScriptingMixin
Known Subclasses:

A mixin that gives objects a getRunner method and a script attribute.

Within the DC, this is only mixed into make.

The getRunner() method returns a callable that takes the current table (we expect db tables, really), the phase and possibly further keyword arguments, as appropriate for the phase.

Objects mixing this in must also support define a method getExpander() returning an object mixin in a MacroPackage.

Instance Methods
 
getRunner(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__