(db)
| 35 | |
| 36 | # flake8: noqa |
| 37 | def shell(db): |
| 38 | if settings.environment not in ("develop", "local"): |
| 39 | raise Exception("This script must be run in develop environment") |
| 40 | |
| 41 | logger.info("Checking initial data...") |
| 42 | with db.session() as session: |
| 43 | import IPython |
| 44 | |
| 45 | IPython.embed() |
| 46 | |
| 47 | |
| 48 | def main() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…