§
    P„j­  ã                   ó    —  G d „ d¦  «        Z dS )c                   ó   — e Zd ZdZd„ Zd„ ZdS )Úexporta!  Decorator to export a public API in a given package.

    Example usage:

    ```python
    @export(package="keras_tuner", path="keras_tuner.applications.HyperResNet")
    class HyperResNet:
        ...
    ```

    You can also pass a list of paths as `path`, to make
    the same symbol visible under various aliases:

    ```python
    @export(
        package="keras_tuner",
        path=[
            "keras_tuner.applications.HyperResNet",
            "keras_tuner.applications.resnet.HyperResNet",
        ])
    class HyperResNet:
        ...
    ```

    **Note:** All export packages must start with the package name.
    Yes, that is redundant, but that is a helpful sanity check.
    The expectation is that each package will customize
    `export_api` to provide a default value for `package`,
    which will serve to validate all `path` values
    and avoid users inadvertendly ending up with non-exported
    symbols due to a bad path (e.g. `path="applications.HyperResNet"`
    instead of `path="keras_tuner.applications.HyperResNet"`).
    c                 ó,  — t          |t          ¦  «        r|g}n:t          |t          ¦  «        r|}n"t          d|› dt	          |¦  «        › �¦  «        ‚|D ]/}|                     |dz   ¦  «        st          d|› d|› �¦  «        ‚Œ0|| _        || _        d S )Nz,Invalid type for `path` argument: Received 'z
' of type ú.z,All `export_path` values should start with 'z.'. Received: path=)Ú
isinstanceÚstrÚlistÚ
ValueErrorÚtypeÚ
startswithÚpackageÚpath)Úselfr   r   Úexport_pathsÚps        úQ/root/disk_3tb/conda_envs/Huy-visual/lib/python3.11/site-packages/namex/export.pyÚ__init__zexport.__init__$   sß   € Ý�d�CÑ Ô ð 		Ø ˜6ˆLˆLÝ˜�dÑ#Ô#ð 	ØˆLˆLåð(Ø!ð(ð (å ™:œ:ð(ð (ñô ð ð ð 	ð 	ˆAØ—<’< ¨#¡Ñ.Ô.ð Ý ð-À7ð -ð -Ø&*ð-ð -ñô ð ðð ˆŒØˆŒ	ˆ	ˆ	ó    c           	      óÜ   — t          |d¦  «        r;|j        t          |¦  «        k    r#t          d|› d|j        › d| j        › d�¦  «        ‚| j        |_        t          |¦  «        |_        |S )NÚ_api_export_pathzSymbol z is already exported as 'z'. Cannot also export it to 'z'.)ÚhasattrÚ_api_export_symbol_idÚidr	   r   r   )r   Úsymbols     r   Ú__call__zexport.__call__:   s�   € Ý�6Ð-Ñ.Ô.ð 	°6Ô3OÕSUØñT
ô T
ò 4
ð 4
õ ð;˜&ð ;ð ;¸6Ô;Rð ;ð ;Ø-1¬Yð;ð ;ð ;ñô ð ð #'¤)ˆÔÝ')¨&¡z¤zˆÔ$Øˆr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s=   € € € € € ð ð  ðDð ð ð,
ð 
ð 
ð 
ð 
r   r   N)r   r   r   r   ú<module>r       sA   ððCð Cð Cð Cð Cñ Cô Cð Cð Cð Cr   