Skip to content

Commit fc8c9ee

Browse files
authored
Merge pull request #5 from rush-db/feature/querying-property-values
Add ability to query property values
2 parents 87e57bd + b2aa14e commit fc8c9ee

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,22 @@ For urgent issues or further assistance, you can reach out directly:
4141
- **LinkedIn**: [linkedin.com/onepx](https://linkedin.com/in/onepx)
4242

4343
We appreciate your contributions and look forward to your feedback!
44+
45+
---
46+
## Poetry commands
47+
48+
```
49+
poetry run isort . --check
50+
```
51+
52+
```
53+
poetry run mypy src/rushdb
54+
```
55+
56+
```
57+
poetry run black .
58+
```
59+
60+
```
61+
poetry run ruff check .
62+
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "rushdb"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
description = "RushDB Python SDK"
55
authors = ["RushDB Team <hi@rushdb.com>"]
66
license = "Apache-2.0"

src/rushdb/api/properties.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def values(
4949
self,
5050
property_id: str,
5151
sort: Optional[Literal["asc", "desc"]],
52+
query: Optional[str],
5253
skip: Optional[int],
5354
limit: Optional[int],
5455
transaction: Optional[Transaction] = None,
@@ -60,5 +61,5 @@ def values(
6061
"GET",
6162
f"/api/v1/properties/{property_id}/values",
6263
headers=headers,
63-
params={"sort": sort, "skip": skip, "limit": limit},
64+
params={"sort": sort, "skip": skip, "limit": limit, "query": query},
6465
)

0 commit comments

Comments
 (0)