From 7701ce095083c8ced97cec14357520d3954d30c1 Mon Sep 17 00:00:00 2001 From: Frank Yu Date: Fri, 28 Jun 2024 22:53:30 +0800 Subject: [PATCH] Remove redundant code --- examples/notebook/app.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/notebook/app.py b/examples/notebook/app.py index 0dc2c62..e38f2f1 100644 --- a/examples/notebook/app.py +++ b/examples/notebook/app.py @@ -48,12 +48,6 @@ def __repr__(self): return f'' # pragma: no cover -# callbacks -@app.shell_context_processor -def make_shell_context(): - return dict(db=db, Note=Note) # pragma: no cover - - # commands @app.cli.command('init') @click.option('--drop-table', is_flag=True, help='Re-create the tables.')