Simon Willison’s Weblog

Subscribe

31st August 2023

TIL Remember to commit when using datasette.execute_write_fn() — I was writing some code for [datasette-auth-tokens](https://github.com/simonw/datasette-auth-tokens) that used [db.execute_write_fn()](https://docs.datasette.io/en/stable/internals.html#await-db-execute-write-fn-fn-block-true) like this:

Recent articles

This is a beat by Simon Willison, posted on 31st August 2023.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe