def add_spout(self, name, spout_cls, par, config=None, optional_outputs=None):
spout_spec = spout_cls.spec(name=name, par=par, config=config,<EOL>optional_outputs=optional_outputs)<EOL>self.add_spec(spout_spec)<EOL>return spout_spec<EOL>
Add a spout to the topology