def list_topics(self):
try:<EOL><INDENT>topics = self.mgmt_client.list_topics()<EOL><DEDENT>except requests.exceptions.ConnectionError as e:<EOL><INDENT>raise ServiceBusConnectionError("<STR_LIT>".format(self.service_namespace), e)<EOL><DEDENT>topic_clients = []<EOL>for topic in topics:<EOL><INDENT>topic_clients.append(TopicClient.from_entity(<EOL>self._get_host(), topic,<EOL>shared_access_key_name=self.shared_access_key_name,<EOL>shared_access_key_value=self.shared_access_key_value,<EOL>loop=self.loop,<EOL>debug=self.debug))<EOL><DEDENT>return topic_clients<EOL>
Get an async client for all topic entities in the namespace.

        :rtype: list[~azure.servicebus.aio.async_client.TopicClient]
        :raises: ~azure.servicebus.common.errors.ServiceBusConnectionError if the namespace is not found.