Type signatures for .create_table() and .create_table_sql() and .create() and Table.__init__

Closes #314
This commit is contained in:
Simon Willison 2021-08-18 15:25:18 -07:00
commit c79737bb4f
2 changed files with 62 additions and 43 deletions

View file

@ -13,6 +13,7 @@ def test_tracer():
("PRAGMA recursive_triggers=on;", None),
("select name from sqlite_master where type = 'view'", None),
("select name from sqlite_master where type = 'table'", None),
("select name from sqlite_master where type = 'view'", None),
("CREATE TABLE [dogs] (\n [name] TEXT\n);\n ", None),
("select name from sqlite_master where type = 'view'", None),
("INSERT INTO [dogs] ([name]) VALUES (?);", ["Cleopaws"]),