List the peers we are pubsubbing with.

        Lists the id's of other IPFS users who we
        are connected to via some topic. Without specifying
        a topic, IPFS peers from all subscribed topics
        will be returned in the data. If a topic is specified
        only the IPFS id's of the peers from the specified
        topic will be returned in the data.

        .. code-block:: python

            >>> c.pubsub_peers()
            {'Strings':
                    [
                        'QmPbZ3SDgmTNEB1gNSE9DEf4xT8eag3AFn5uo7X39TbZM8',
                        'QmQKiXYzoFpiGZ93DaFBFDMDWDJCRjXDARu4wne2PRtSgA',
                        ...
                        'QmepgFW7BHEtU4pZJdxaNiv75mKLLRQnPi1KaaXmQN4V1a'
                    ]
            }

            ## with a topic

            # subscribe to a channel
            >>> with c.pubsub_sub('hello') as sub:
            ...     c.pubsub_peers(topic='hello')
            {'String':
                    [
                        'QmPbZ3SDgmTNEB1gNSE9DEf4xT8eag3AFn5uo7X39TbZM8',
                        ...
                        # other peers connected to the same channel
                    ]
            }

        Parameters
        ----------
        topic : str
            The topic to list connected peers of
            (defaults to None which lists peers for all topics)

        Returns
        -------
            dict : Dictionary with the ke "Strings" who's value is id of IPFS
                   peers we're pubsubbing with

def pubsub_peers(self, topic=None, **kwargs):
        """List the peers we are pubsubbing with.

        Lists the id's of other IPFS users who we
        are connected to via some topic. Without specifying
        a topic, IPFS peers from all subscribed topics
        will be returned in the data. If a topic is specified
        only the IPFS id's of the peers from the specified
        topic will be returned in the data.

        .. code-block:: python

            >>> c.pubsub_peers()
            {'Strings':
                    [
                        'QmPbZ3SDgmTNEB1gNSE9DEf4xT8eag3AFn5uo7X39TbZM8',
                        'QmQKiXYzoFpiGZ93DaFBFDMDWDJCRjXDARu4wne2PRtSgA',
                        ...
                        'QmepgFW7BHEtU4pZJdxaNiv75mKLLRQnPi1KaaXmQN4V1a'
                    ]
            }

            ## with a topic

            # subscribe to a channel
            >>> with c.pubsub_sub('hello') as sub:
            ...     c.pubsub_peers(topic='hello')
            {'String':
                    [
                        'QmPbZ3SDgmTNEB1gNSE9DEf4xT8eag3AFn5uo7X39TbZM8',
                        ...
                        # other peers connected to the same channel
                    ]
            }

        Parameters
        ----------
        topic : str
            The topic to list connected peers of
            (defaults to None which lists peers for all topics)

        Returns
        -------
            dict : Dictionary with the ke "Strings" who's value is id of IPFS
                   peers we're pubsubbing with
        """
        args = (topic,) if topic is not None else ()
        return self._client.request('/pubsub/peers', args,
                                    decoder='json', **kwargs)