
                        @    d Z ddlmZ ddlmZ ddlmZ 	 	 	 	 	 	 ddZy)z.Shared request hooks for the Dataplex surface.    )annotations)Any)dataplex_v1_messagesc                    |j                   Ht        |j                   t              r.t        t        t	        d |j                                     |_         |S )zMTransforms the root path from the "." in CLI to empty string expected in API.c                    | dk7  r| S dS )N.  )ps    8lib/googlecloudsdk/command_lib/dataplex/request_hooks.py<lambda>z(TransformEntryRootPath.<locals>.<lambda>!   s    S1+@b+@    )paths
isinstancelistsetmap)
unused_refargsrequests      r   TransformEntryRootPathr      s=     
ZZ
4::t <S!@$**MNOGM	.r   N)r   strr   r   r   zumessages.DataplexProjectsLocationsLookupEntryRequest | messages.DataplexProjectsLocationsEntryGroupsEntriesGetRequest)	__doc__
__future__r   typingr   1googlecloudsdk.generated_clients.apis.dataplex.v1r   messagesr   r
   r   r   <module>r      s3    5 "  ^
	I	r   