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

supabase / supabase-py / 41675489278 / 1
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2026 04:36PM UTC
Files 44
Run time 1s
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

03 Nov 2026 04:33PM UTC coverage: 98.531% (+0.003%) from 98.528%
41675489278.1

push

github

web-flow
fix(storage): require topK in vector index query (#1946)

## What kind of change does this PR introduce?

Bug fix. Closes #1945.

## What is the current behavior?

`query()` defaults `topK` to `None`, and `None` values are left out of
the request body, so a call without `topK` sends a QueryVectors request
the API rejects.

## What is the new behavior?

`topK` has no default, so a call without it raises `TypeError` before
any request is sent. It keeps its position, so calls that pass `topK`
positionally or by keyword are unaffected.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Vector queries now require a `topK` value in both synchronous and
asynchronous APIs. Omitting it raises a `TypeError` without sending a
request.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

3019 of 3064 relevant lines covered (98.53%)

0.99 hits per line

Source Files on job run-ubuntu-latest-3.14-storage - 41675489278.1
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41675489278
  • a60e0d27 on github
  • Prev Job for on main (#41673893468.22)
  • Next Job for on main (#41676184517.29)
  • 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