def hookup(self, api):
assert not hasattr(api, self.module_name), """<STR_LIT>""".format(self.module_name)<EOL>self.api = api<EOL>setattr(api, self.module_name, self.execute)<EOL>
Hooks this module up to the given api.