a
    1$e                     @   s   d Z ddlmZ dd ZdS )zFiona's command line interface    wrapsc                    s   t   fdd}|S )zPops the Fiona Env from the passed context and executes the
    wrapped func in the context of that obj.

    Click's pass_context decorator must precede this decorator, or else
    there will be no context in the wrapper args.
    c                     sJ   | d }|j d}|  | i |W  d    S 1 s<0    Y  d S )Nr   env)objpop)argskwdsctxr   f N/var/www/html/django/DPS/env/lib/python3.9/site-packages/fiona/fio/__init__.pywrapper   s    z!with_context_env.<locals>.wrapperr   )r   r   r   r
   r   with_context_env   s    r   N)__doc__	functoolsr   r   r   r   r   r   <module>   s   