home / docs / sections

sections

2 rows where references = "[]" and title = "Fixing async with httpx.AsyncClient(app=app)"

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: breadcrumbs (array)

id ▼ page ref title content breadcrumbs references
upgrade-1.0a20:fixing-async-with-httpx-asyncclient-app-app upgrade-1.0a20 fixing-async-with-httpx-asyncclient-app-app Fixing async with httpx.AsyncClient(app=app) Some older plugins may use the following pattern in their tests, which is no longer supported: app = Datasette([], memory=True).app() async with httpx.AsyncClient(app=app) as client: response = await client.get("http://localhost/path") The new pattern is to use ds.client like this: ds = Datasette([], memory=True) response = await ds.client.get("/path") ["Datasette 1.0a20 plugin upgrade guide"] []
upgrade_guide:fixing-async-with-httpx-asyncclient-app-app upgrade_guide fixing-async-with-httpx-asyncclient-app-app Fixing async with httpx.AsyncClient(app=app) Some older plugins may use the following pattern in their tests, which is no longer supported: app = Datasette([], memory=True).app() async with httpx.AsyncClient(app=app) as client: response = await client.get("http://localhost/path") The new pattern is to use ds.client like this: ds = Datasette([], memory=True) response = await ds.client.get("/path") ["Upgrade guide", "Datasette 1.0a20 plugin upgrade guide"] []

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [sections] (
   [id] TEXT PRIMARY KEY,
   [page] TEXT,
   [ref] TEXT,
   [title] TEXT,
   [content] TEXT,
   [breadcrumbs] TEXT,
   [references] TEXT
);
Powered by Datasette · Queries took 1.2ms