@classmethod<EOL><INDENT>def from_connection_string(cls, conn_str, name, topic=None, **kwargs):  <DEDENT>
address, policy, key, entity = parse_conn_str(conn_str)<EOL>entity = topic or entity<EOL>address = build_uri(address, entity)<EOL>address += "<STR_LIT>" + name<EOL>return cls(address, name, shared_access_key_name=policy, shared_access_key_value=key, **kwargs)<EOL>
Create a SubscriptionClient from a connection string.

        :param conn_str: The connection string.
        :type conn_str: str
        :param name: The name of the Subscription.
        :type name: str
        :param topic: The name of the Topic, if the EntityName is
         not included in the connection string.
        :type topic: str