(self, line)
| 32 | ) |
| 33 | @line_magic |
| 34 | def dotenv(self, line): |
| 35 | args = parse_argstring(self.dotenv, line) |
| 36 | # Locate the .env file |
| 37 | dotenv_path = args.dotenv_path |
| 38 | try: |
| 39 | dotenv_path = find_dotenv(dotenv_path, True, True) |
| 40 | except IOError: |
| 41 | print("cannot find .env file") |
| 42 | return |
| 43 | |
| 44 | # Load the .env file |
| 45 | load_dotenv(dotenv_path, verbose=args.verbose, override=args.override) |
| 46 | |
| 47 | |
| 48 | def load_ipython_extension(ipython): |
nothing calls this directly
no test coverage detected