• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-py / 43390254367
98%

Build:
DEFAULT BRANCH: main
Ran 13 Nov 2026 08:03AM UTC
Jobs 35
Files 148
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2026 08:03AM UTC coverage: 97.919% (+0.1%) from 97.817%
43390254367

push

github

web-flow
feat(postgrest): add the table definition, the request value and the executor (#2043)

Step 3 of [SDK-2765](https://linear.app/supabase/issue/SDK-2765)
([SDK-2986](https://linear.app/supabase/issue/SDK-2986)): the table
definition, the request value the typed builders of step 4 will collect,
and the executors that run it. A port of the `PostgrestTableRequest` and
`PostgrestTableExecutor` of supabase-flutter #1857, on the column
expressions, filters and orderings of #2041 and #2042. SDK-2711, the
interceptor seam, builds on it.

## What

- `Table[Row, Insert, Update](name, row_type, primary_key=,
computed_fields=, schema=)`: a frozen dataclass with the metadata of a
table, declared once per table as the last attribute of its namespace
class. `Insert` and `Update` are phantom here; the typed builder of step
4 uses them to accept only the table's write types, and `Never` makes
the write methods uncallable. `relations=` waits for step 6, which adds
the relation types it would hold.
- `TableRequest`: a frozen `kw_only` dataclass with the fields of Dart's
value: `table`, `operation`, `schema`, `columns`, `filter`, `orderings`,
`limit`, `offset`, `shape`, `count`, `payload`, `read_only`,
`on_conflict`, `ignore_duplicates`, `returning`, `max_affected`,
`strip_nulls`, `dry_run`, `explain` and `options`. No URL and no
headers, collections are tuples, and a changed copy is
`dataclasses.replace`. `schema=None` means the schema the table carries
and otherwise the client's; `filter=None` means every row, as in Dart,
with the typed builder of step 4 requiring `where()` or `all()` before
it builds such an update or delete. `embedded_scopes` waits for step 6
with the scope type. `TableResult(data, count)` carries `data` as plain
decoded JSON by shape. `TableOperation`, `ResultShape`, `ExplainOptions`
and `RequestOptions(headers, retry, timeout)` come with it.
- `TableExecutor` and `AsyncTableExecutor` protocols with
`execute(request)`. The async one returns `Awaitable... (continued)

15576 of 15907 relevant lines covered (97.92%)

5.05 hits per line

Coverage Regressions

Lines Coverage ∆ File
18
96.3
0.97% src/postgrest/request_builder.py
Jobs
ID Job ID Ran Files Coverage
1 functions-py3.15-highest - 43390254367.1 13 Nov 2026 08:03AM UTC 14
99.12
GitHub Action Run
2 storage-py3.12-highest - 43390254367.2 13 Nov 2026 08:05AM UTC 24
95.99
GitHub Action Run
3 utils-py3.15-highest - 43390254367.3 13 Nov 2026 08:04AM UTC 24
99.67
GitHub Action Run
4 supabase-py3.12-lowest-direct - 43390254367.4 13 Nov 2026 08:03AM UTC 20
99.32
GitHub Action Run
5 supabase-py3.13-highest - 43390254367.5 13 Nov 2026 08:03AM UTC 20
99.32
GitHub Action Run
6 supabase-py3.14-highest - 43390254367.6 13 Nov 2026 08:03AM UTC 20
99.32
GitHub Action Run
7 realtime-py3.12-lowest-direct - 43390254367.7 13 Nov 2026 08:05AM UTC 10
97.39
GitHub Action Run
8 functions-py3.12-highest - 43390254367.8 13 Nov 2026 08:03AM UTC 14
99.12
GitHub Action Run
9 functions-py3.13-highest - 43390254367.9 13 Nov 2026 08:03AM UTC 14
99.12
GitHub Action Run
10 functions-py3.12-lowest-direct - 43390254367.10 13 Nov 2026 08:03AM UTC 14
99.12
GitHub Action Run
11 utils-py3.13-highest - 43390254367.11 13 Nov 2026 08:04AM UTC 24
99.67
GitHub Action Run
12 realtime-py3.13-highest - 43390254367.12 13 Nov 2026 08:05AM UTC 10
97.39
GitHub Action Run
13 supabase-py3.12-highest - 43390254367.13 13 Nov 2026 08:04AM UTC 20
99.32
GitHub Action Run
14 realtime-py3.15-highest - 43390254367.14 13 Nov 2026 08:05AM UTC 10
97.15
GitHub Action Run
15 utils-py3.12-lowest-direct - 43390254367.15 13 Nov 2026 08:04AM UTC 24
99.67
GitHub Action Run
16 storage-py3.14-highest - 43390254367.16 13 Nov 2026 08:05AM UTC 24
95.99
GitHub Action Run
17 postgrest-py3.14-highest - 43390254367.17 13 Nov 2026 08:05AM UTC 44
98.84
GitHub Action Run
18 postgrest-py3.13-highest - 43390254367.18 13 Nov 2026 08:05AM UTC 44
98.85
GitHub Action Run
19 postgrest-py3.15-highest - 43390254367.19 13 Nov 2026 08:05AM UTC 44
98.84
GitHub Action Run
20 postgrest-py3.12-lowest-direct - 43390254367.20 13 Nov 2026 08:05AM UTC 44
98.85
GitHub Action Run
21 realtime-py3.14-highest - 43390254367.21 13 Nov 2026 08:05AM UTC 10
97.15
GitHub Action Run
22 auth-py3.14-highest - 43390254367.22 13 Nov 2026 08:05AM UTC 43
96.77
GitHub Action Run
23 supabase-py3.15-highest - 43390254367.23 13 Nov 2026 08:04AM UTC 20
99.32
GitHub Action Run
24 auth-py3.13-highest - 43390254367.24 13 Nov 2026 08:05AM UTC 43
96.77
GitHub Action Run
25 postgrest-py3.12-highest - 43390254367.25 13 Nov 2026 08:05AM UTC 44
98.85
GitHub Action Run
26 realtime-py3.12-highest - 43390254367.26 13 Nov 2026 08:05AM UTC 10
97.51
GitHub Action Run
27 utils-py3.14-highest - 43390254367.27 13 Nov 2026 08:04AM UTC 24
99.67
GitHub Action Run
28 storage-py3.12-lowest-direct - 43390254367.28 13 Nov 2026 08:05AM UTC 24
95.99
GitHub Action Run
29 utils-py3.12-highest - 43390254367.29 13 Nov 2026 08:04AM UTC 24
99.67
GitHub Action Run
30 auth-py3.15-highest - 43390254367.30 13 Nov 2026 08:05AM UTC 43
96.77
GitHub Action Run
31 storage-py3.15-highest - 43390254367.31 13 Nov 2026 08:06AM UTC 24
95.99
GitHub Action Run
32 auth-py3.12-highest - 43390254367.32 13 Nov 2026 08:05AM UTC 43
96.77
GitHub Action Run
33 auth-py3.12-lowest-direct - 43390254367.33 13 Nov 2026 08:05AM UTC 43
96.77
GitHub Action Run
34 functions-py3.14-highest - 43390254367.34 13 Nov 2026 08:03AM UTC 14
99.12
GitHub Action Run
35 storage-py3.13-highest - 43390254367.35 13 Nov 2026 08:05AM UTC 24
95.99
GitHub Action Run
Source Files on build 43390254367
  • Tree
  • List 148
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43390254367
  • 1217f422 on github
  • Prev Build on main (#43237516251)
  • Next Build on main (#43431449431)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc