diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index e40eb12..06e7557 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -524,7 +524,8 @@ class Database: return "\n".join(sqls) @property - def supports_strict(self): + def supports_strict(self) -> bool: + "Does this database support STRICT mode?" try: table_name = "t{}".format(secrets.token_hex(16)) with self.conn: