(self, **kwargs: base.CommonArgs)
return self._client.request('/pubsub/ls', decoder='json', **kwargs)
Lists subscribed topics by name
		
		This method returns data that contains a list of
		all topics the user is subscribed to. In order
		to subscribe to a topic ``pubsub.sub`` must be called.
		
		.. code-block:: python
		
			# subscribe to a channel
			>>> with client.pubsub.sub("hello") as sub:
			...     client.pubsub.ls()
			{
				'Strings' : ["hello"]
			}
		
		Returns
		-------
			dict
		
		+---------+-------------------------------------------------+
		| Strings | List of topic the IPFS daemon is subscribbed to |
		+---------+-------------------------------------------------+
Lists subscribed topics by name
		
		This method returns data that contains a list of
		all topics the user is subscribed to. In order
		to subscribe to a topic ``pubsub.sub`` must be called.
		
		.. code-block:: python
		
			# subscribe to a channel
			>>> with client.pubsub.sub("hello") as sub:
			...     client.pubsub.ls()
			{
				'Strings' : ["hello"]
			}
		
		Returns
		-------
			dict
		
		+---------+-------------------------------------------------+
		| Strings | List of topic the IPFS daemon is subscribbed to |
		+---------+-------------------------------------------------+
Lists subscribed topics by name This method returns data that contains a list of all topics the user is subscribed to . In order to subscribe to a topic pubsub . sub must be called . .. code - block :: python # subscribe to a channel >>> with client . pubsub . sub ( hello ) as sub : ... client . pubsub . ls () { Strings : [ hello ] } Returns ------- dict + --------- + ------------------------------------------------- + | Strings | List of topic the IPFS daemon is subscribbed to | + --------- + ------------------------------------------------- +
def ls(self, **kwargs: base.CommonArgs):
		"""Lists subscribed topics by name
		
		This method returns data that contains a list of
		all topics the user is subscribed to. In order
		to subscribe to a topic ``pubsub.sub`` must be called.
		
		.. code-block:: python
		
			# subscribe to a channel
			>>> with client.pubsub.sub("hello") as sub:
			...     client.pubsub.ls()
			{
				'Strings' : ["hello"]
			}
		
		Returns
		-------
			dict
		
		+---------+-------------------------------------------------+
		| Strings | List of topic the IPFS daemon is subscribbed to |
		+---------+-------------------------------------------------+
		"""
		return self._client.request('/pubsub/ls', decoder='json', **kwargs)
def ls ( self , * * kwargs : base . CommonArgs ) : return self . _client . request ( '/pubsub/ls' , decoder = 'json' , * * kwargs )