
    S3j.                         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y)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                   D    e Zd ZdZdddedee   ded   dee   d	ef
d
Z	y)r   zO
    Class used to define the type definition for the downloader function.
    N)
check_onlyfnameactionpoochr   r   returnc                     y )N )selfr   r   r   r   s        B/DATA/.local/lib/python3.12/site-packages/pooch/typing/__init__.py__call__zDownloader.__call__5   s         )
__name__
__module____qualname____doc__strr   r   boolr   r    r   r!   r   r   r   /   sO     &* "  	 TN 
r!   r   c                   0    e Zd ZU dZeed<   eed<   eed<   y)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   ?   s     MK
Ir!   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    
	 	 	  
.	/bkk!"hXh?@c68G#45s:;	  		 	r!   