I have the following code, in which I am trying to extend the init
method of BaseExporter
:
from apps.ingest.platform_export import BaseExporter
class Vudu(BaseExporter):
def __init__(self):
BaseExporter.__init__()
self.platform = ' Vudu'
Basically, I would like all of the init'd variables from the BaseExporter plus the additional variable of self.platform = 'Vudu'
. How would I do this correctly?