Skip to content

Commit

Permalink
Merge pull request #298 from yuxiaoy1/patch-2
Browse files Browse the repository at this point in the history
Remove redundant code
  • Loading branch information
greyli authored Sep 16, 2024
2 parents f7db4ab + 7701ce0 commit 02b86cc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/notebook/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ def __repr__(self):
return f'<Note {self.id}: {self.title}>' # 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.')
Expand Down

0 comments on commit 02b86cc

Please sign in to comment.