
    Pi.                        d Z ddlZddlmZmZmZmZmZmZm	Z	m
Z
 erddlmZ g dZed         Ze
eej        f         Ze
eee         ee         f         Zeeeed         gef         Z G d	 d
e          Z G d de	          ZdS )z
Custom classes for type annotations

This module provides additional `PEP 484 <https://peps.python.org/pep-0484/>`_
type aliases used in ``pooch``'s codebase.
    N)TYPE_CHECKINGAnyCallableLiteralOptionalProtocol	TypedDictUnion   )Pooch)Action
DownloaderPathTypePathInputType	ParsedURL	Processor)downloadfetchupdater   c                   X    e Zd ZdZdddedee         ded         dee         d	ef
d
Z	dS )r   zO
    Class used to define the type definition for the downloader function.
    N)
check_onlyfnameactionpoochr   r   returnc                    d S )N )selfr   r   r   r   s        i/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/pooch/typing/__init__.py__call__zDownloader.__call__5   s	     c    )
__name__
__module____qualname____doc__strr   r   boolr   r    r   r!   r   r   r   /   s          &*   "  	 TN 
     r!   r   c                   2    e Zd ZU dZeed<   eed<   eed<   dS )r   z
    Type for a dictionary generated after parsing a URL.

    The dictionary contains three keys: protocol, netloc and path.
    protocolnetlocpathN)r"   r#   r$   r%   r&   __annotations__r   r!   r   r   r   ?   s7           MMMKKK
IIIIIr!   r   )r%   ostypingr   r   r   r   r   r   r	   r
    r   __all__r   r&   PathLiker   listtupler   r   r   r   r   r!   r   <module>r4      s[    
				 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	     
.	/bk!"hXh?@c68G#45s:;	        	 	 	 	 		 	 	 	 	 	r!   