mirror of
https://github.com/simonw/datasette.git
synced 2026-10-21 08:47:01 +02:00
Require Python 3.11 and remove SQLite authorizer workaround
This commit is contained in:
parent
cf113a5985
commit
2090f17d93
16 changed files with 24 additions and 47 deletions
|
|
@ -523,7 +523,7 @@ async def test_write_wrapper_set_authorizer(datasette, actor, table, should_deny
|
|||
try:
|
||||
yield
|
||||
finally:
|
||||
conn.set_authorizer(lambda *args: sqlite3.SQLITE_OK)
|
||||
conn.set_authorizer(None)
|
||||
|
||||
return wrapper
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue