From 21e80dfbcf27870948e4c008a2aaf551f01bc20d Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 8 Nov 2024 12:13:05 -0800 Subject: [PATCH] It's return_db, not _return_db - refs #643 --- docs/plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugins.rst b/docs/plugins.rst index 9f5c25e..6357ad9 100644 --- a/docs/plugins.rst +++ b/docs/plugins.rst @@ -131,7 +131,7 @@ As a special niche feature, if your plugin needs to import some files and then a ) def show_schema_for_files(ctx, paths): from sqlite_utils.cli import memory - db = ctx.invoke(memory, paths=paths, _return_db=True) + db = ctx.invoke(memory, paths=paths, return_db=True) # Now do something with that database click.echo(db.schema)