fbddlmZmZmZddlmZmZmZddlm Z m Z eGddeZ dZ y) )Magics line_magic magics_class)argumentmagic_argumentsparse_argstring) find_dotenv load_dotenvc eZdZeeddddedddded d ed d edZy) IPythonDotEnvz-oz --override store_truez'Indicate to override existing variables)actionhelpz-vz --verbosez%Indicate function calls to be verbose dotenv_path?z.envz;Search in increasingly higher folders for the `dotenv_path`)nargstypedefaultrct|j|}|j} t|dd}t ||j|jy#t$rt dYywxYw)NTzcannot find .env file)verboseoverride) rdotenvrr IOErrorprintr rr)selflineargsrs W/var/lib/jenkins/workspace/mettalog/venv/lib/python3.12/site-packages/dotenv/ipython.pyrzIPythonDotEnv.dotenv set{{D1&&  %k4>K K N   ) *  s AA+*A+N)__name__ __module__ __qualname__rrstrrrrr r so  l< 6 k, 4m3S&PR OR   Or%r c.|jty)zRegister the %dotenv magic.N)register_magicsr )ipythons rload_ipython_extensionr)%s M*r%N) IPython.core.magicrrrIPython.core.magic_argumentsrrrmainr r r r)r$r%rr-s=??;;+OFOO8+r%