<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_kwargs(self):
 """ Returns kwargs for both publisher and subscriber classes """

        return {
            'host': self.host,
            'port': self.port,
            'channel': self.channel,
            'password': self.password
        }