Files
lancedb/docs/web
Brendan Clement 07e8a8db17 docs: fix copyable Python examples that fail as published
- Full-text search: the multiline query chain was not parenthesized, so
  pasting it raised an IndentationError.
- Pandas async: the example chained .select onto the coroutine an async
  search returns; it now awaits the search first, and its test asserts
  the result.
- Pydantic: the example searched with a string, which needs a full-text
  index or an embedding function the table does not have; it searches
  with a vector, as the page describes, and asserts the model returned.
- PyTorch: the column-selection example selected columns the page's
  table lacks and printed a schema from a batch that is a dict. It now
  builds its own table and prints the batch's columns.
- Data evolution: the setup used the test's tmp_db fixture, an optional
  data argument and an unimported numpy. It now needs only `db`, which
  the page says how to open.
2026-10-09 13:36:49 -07:00
..