HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/dotenv/__pycache__/ipython.cpython-310.pyc
o

��a�@sXddlmZmZmZddlmZmZmZddlm	Z	m
Z
eGdd�de��Zdd�Zd	S)
�)�Magics�
line_magic�magics_class)�argument�magic_arguments�parse_argstring�)�find_dotenv�load_dotenvc
@sPeZdZe�eddddd�eddddd�ed	d
eddd
�edd������ZdS)�
IPythonDotEnvz-oz
--override�
store_truez'Indicate to override existing variables)�action�helpz-vz	--verbosez%Indicate function calls to be verbose�dotenv_path�?z.envz;Search in increasingly higher folders for the `dotenv_path`)�nargs�type�defaultrcCsVt|j|�}|j}zt|dd�}Wntytd�YdSwt||j|jd�dS)NTzcannot find .env file)�verbose�override)	r�dotenvrr	�IOError�printr
rr)�self�line�argsr�r�0/usr/lib/python3/dist-packages/dotenv/ipython.pyrs
�zIPythonDotEnv.dotenvN)�__name__�
__module__�__qualname__rr�strrrrrrrrs��
�rcCs|�t�dS)zRegister the %dotenv magic.N)�register_magicsr)�ipythonrrr�load_ipython_extension%sr$N)
�IPython.core.magicrrr�IPython.core.magic_argumentsrrr�mainr	r
rr$rrrr�<module>s