
                         t    S SK Jr  S SKJr  S SKJrJrJr  SrS\S\S\\	\	4   4S jr
S	\S\S\\	\	4   4S
 jrg)    )Mapping)	urlencode)	Partition	TopicPathSubscriptionPathzx-goog-request-paramstopic	partitionreturnc                 f    [        [        UR                  5      [        U 5      S.5      n[        U0$ )N)r	   r   r   strvalue_PARAMS_HEADER)r   r	   encodeds      Dlib/third_party/google/cloud/pubsublite/internal/routing_metadata.pytopic_routing_metadatar      s)    c)//&:SZPQGG$$    subscriptionc                 f    [        [        UR                  5      [        U 5      S.5      n[        U0$ )N)r	   r   r   )r   r	   r   s      r   subscription_routing_metadatar      s1     )//*C<MNG G$$r   N)typingr   urllib.parser   google.cloud.pubsublite.typesr   r   r   r   r   r   r    r   r   <module>r      sb     " P P(%) %	 %gcSVhFW %
%"%/8%S#X%r   