Hi,
I was wondering if
somebody has a handy example on how to use pluggable brains inside python
scripts. For the most part I've only seen the sample in which you have a
class:
class
MyDataClass:
def getSomething(self):
return self.field1 + self.field2
and then you have a
DTML method that goes something like
<dtml-in
myquery>
<dtml-var getSomething>
</dtml-in>
How would I access
the MyDataClass if I were to write a python script rather than a DTML
method?
Thanks for your
help,
Julian