code: def connect_params(self):
          
          return {
              'endpoint': self.endpoint,
              'uuid': self.uuid,
              'username': self.username,
              'password': self.password,
              'cacert': self.cacert,
              'bakery_client': self.bakery_client,
              'loop': self.loop,
              'max_frame_size': self.max_frame_size,
          }
docs: Return a tuple of parameters suitable for passing to
          Connection.connect that can be used to make a new connection
          to the same controller (and model if specified. The first
          element in the returned tuple holds the endpoint argument;
          the other holds a dict of the keyword args.