Skip to content

Commit b8e8dc3

Browse files
committed
fix: export exists and prox_str from top-level paradedb package
Both `exists` and `prox_str` were implemented in `paradedb/sqlalchemy/search.py` but were not re-exported in `paradedb/__init__.py`, causing `ImportError` when users did `from paradedb import exists` or `from paradedb import prox_str`. Added both symbols to the import block and to `__all__`, in alphabetical order consistent with the surrounding exports.
1 parent 8bcd82a commit b8e8dc3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

paradedb/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from .sqlalchemy.search import (
1414
ProximityExpr,
1515
all,
16+
exists,
1617
match_all,
1718
match_any,
1819
more_like_this,
@@ -21,6 +22,7 @@
2122
phrase_prefix,
2223
prox_array,
2324
prox_regex,
25+
prox_str,
2426
proximity,
2527
range_term,
2628
regex,
@@ -37,6 +39,7 @@
3739
"all",
3840
"assert_indexed",
3941
"describe",
42+
"exists",
4043
"match_all",
4144
"match_any",
4245
"more_like_this",
@@ -49,6 +52,7 @@
4952
"phrase_prefix",
5053
"prox_array",
5154
"prox_regex",
55+
"prox_str",
5256
"proximity",
5357
"range_term",
5458
"regex",

0 commit comments

Comments
 (0)