Simon Willison’s Weblog

Subscribe

28th October 2020

TIL Decorators with optional arguments — [sqlite-utils](https://sqlite-utils.datasette.io/) provides [a decorator](https://sqlite-utils.datasette.io/en/stable/python-api.html#registering-custom-sql-functions) for registering custom Python functions that looks like this:

Recent articles

This is a beat by Simon Willison, posted on 28th October 2020.

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