Skip to content

Keyword-only arguments for documented internal methods, refs #1822 - #3084

Merged
simonw merged 1 commit into
mainfrom
claude/amazing-fermat-hrhcg8
Nov 17, 2026
Merged

simonw merged 1 commit into
mainfrom
claude/amazing-fermat-hrhcg8

Conversation

@simonw

@simonw simonw commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Optional arguments on Datasette(), render_template(), execute(),
execute_write*(), add_database(), plugin_config(), set_actor_cookie(),
datasette.client, datasette.urls, Request.fake(), Response and the
asgi_* helpers are now keyword-only.

status remains positional on the Response.html/text/json/stream/error/
redirect helpers, since Response.json(data, 400) is widely used.

Co-Authored-By: Claude Fable 5.2 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_016BvfqDhEC7S6fWWVDs1REg

Optional arguments on Datasette(), render_template(), execute(),
execute_write*(), add_database(), plugin_config(), set_actor_cookie(),
datasette.client, datasette.urls, Request.fake(), Response and the
asgi_* helpers are now keyword-only.

status remains positional on the Response.html/text/json/stream/error/
redirect helpers, since Response.json(data, 400) is widely used.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016BvfqDhEC7S6fWWVDs1REg
@codecov

codecov Bot commented Nov 17, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (4e9d416) to head (1ff5ae5).

Files with missing lines Patch % Lines
datasette/utils/asgi.py 0.00% 14 Missing ⚠️
datasette/app.py 0.00% 13 Missing ⚠️
datasette/url_builder.py 0.00% 7 Missing ⚠️
datasette/database.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3084   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         79      79           
  Lines      13941   13941           
=====================================
  Misses     13941   13941           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@simonw
simonw merged commit d0e5108 into main Nov 17, 2026
15 checks passed
@simonw
simonw deleted the claude/amazing-fermat-hrhcg8 branch November 17, 2026 07:26
@simonw simonw added this to the Datasette 1.0 stable milestone Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants