lumera 0.5.0__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lumera-0.5.0 → lumera-0.5.2}/PKG-INFO +2 -2
- {lumera-0.5.0 → lumera-0.5.2}/lumera/sdk.py +7 -7
- {lumera-0.5.0 → lumera-0.5.2}/lumera/storage.py +3 -2
- {lumera-0.5.0 → lumera-0.5.2}/lumera.egg-info/PKG-INFO +2 -2
- {lumera-0.5.0 → lumera-0.5.2}/lumera.egg-info/requires.txt +1 -1
- {lumera-0.5.0 → lumera-0.5.2}/pyproject.toml +2 -2
- {lumera-0.5.0 → lumera-0.5.2}/lumera/__init__.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/_utils.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/exceptions.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/google.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/llm.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/locks.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera/pb.py +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera.egg-info/SOURCES.txt +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera.egg-info/dependency_links.txt +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/lumera.egg-info/top_level.txt +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/setup.cfg +0 -0
- {lumera-0.5.0 → lumera-0.5.2}/tests/test_sdk.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lumera
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: SDK for building on Lumera platform
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: requests
|
|
@@ -26,7 +26,7 @@ Requires-Dist: openai-agents<1.0.0,>=0.6.5; extra == "full"
|
|
|
26
26
|
Requires-Dist: openpyxl==3.1.5; extra == "full"
|
|
27
27
|
Requires-Dist: pandas==2.3.0; extra == "full"
|
|
28
28
|
Requires-Dist: pdfplumber; extra == "full"
|
|
29
|
-
Requires-Dist: pydantic
|
|
29
|
+
Requires-Dist: pydantic<3.0.0,>=2.12.3; extra == "full"
|
|
30
30
|
Requires-Dist: PyGithub==2.6.1; extra == "full"
|
|
31
31
|
Requires-Dist: python-dotenv==1.1.0; extra == "full"
|
|
32
32
|
Requires-Dist: pyzmq; extra == "full"
|
|
@@ -268,15 +268,15 @@ def list_records(
|
|
|
268
268
|
limit: Alternative to ``per_page`` for cursor-style queries.
|
|
269
269
|
offset: Starting offset for cursor-style queries.
|
|
270
270
|
sort: Optional sort expression (e.g. ``"-created"``).
|
|
271
|
-
filter:
|
|
272
|
-
|
|
273
|
-
sequence. Structured filters mirror the Page Builder helpers, e.g.:
|
|
271
|
+
filter: Filter as dict (JSON object). String filters are NOT supported.
|
|
272
|
+
Use dict syntax with optional comparison operators:
|
|
274
273
|
|
|
275
|
-
*
|
|
276
|
-
*
|
|
274
|
+
* Simple equality: ``{"status": "pending"}``
|
|
275
|
+
* Comparison: ``{"amount": {"gt": 1000}}`` (gt, gte, lt, lte, eq)
|
|
276
|
+
* OR logic: ``{"or": [{"status": "a"}, {"status": "b"}]}``
|
|
277
|
+
* AND (implicit): ``{"status": "active", "amount": {"gt": 100}}``
|
|
277
278
|
|
|
278
|
-
The SDK JSON-encodes
|
|
279
|
-
tenant-aware expressions automatically.
|
|
279
|
+
The SDK JSON-encodes the filter for the API.
|
|
280
280
|
expand: Optional comma-separated list of relation fields to expand.
|
|
281
281
|
Expanded relations are included inline in the record response.
|
|
282
282
|
Example: ``"user_id,company_id"`` or ``"line_items_via_deposit_id"``
|
|
@@ -135,7 +135,7 @@ def upload(
|
|
|
135
135
|
# Construct result
|
|
136
136
|
result: UploadResult = {
|
|
137
137
|
"url": data.get("download_url", ""),
|
|
138
|
-
"object_key": data.get("
|
|
138
|
+
"object_key": data.get("object_name", ""),
|
|
139
139
|
"path": path,
|
|
140
140
|
"size": size,
|
|
141
141
|
"content_type": content_type,
|
|
@@ -260,7 +260,8 @@ def list_files(prefix: str | None = None) -> list[dict[str, Any]]:
|
|
|
260
260
|
resp = requests.get(f"{API_BASE}/agent-runs/{run_id}/files", headers=headers, timeout=30)
|
|
261
261
|
resp.raise_for_status()
|
|
262
262
|
|
|
263
|
-
|
|
263
|
+
data = resp.json()
|
|
264
|
+
files = data.get("files", [])
|
|
264
265
|
|
|
265
266
|
# Filter by prefix if provided
|
|
266
267
|
if prefix:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lumera
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: SDK for building on Lumera platform
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Requires-Dist: requests
|
|
@@ -26,7 +26,7 @@ Requires-Dist: openai-agents<1.0.0,>=0.6.5; extra == "full"
|
|
|
26
26
|
Requires-Dist: openpyxl==3.1.5; extra == "full"
|
|
27
27
|
Requires-Dist: pandas==2.3.0; extra == "full"
|
|
28
28
|
Requires-Dist: pdfplumber; extra == "full"
|
|
29
|
-
Requires-Dist: pydantic
|
|
29
|
+
Requires-Dist: pydantic<3.0.0,>=2.12.3; extra == "full"
|
|
30
30
|
Requires-Dist: PyGithub==2.6.1; extra == "full"
|
|
31
31
|
Requires-Dist: python-dotenv==1.1.0; extra == "full"
|
|
32
32
|
Requires-Dist: pyzmq; extra == "full"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "lumera"
|
|
3
|
-
version = "0.5.
|
|
3
|
+
version = "0.5.2"
|
|
4
4
|
description = "SDK for building on Lumera platform"
|
|
5
5
|
requires-python = ">=3.11"
|
|
6
6
|
dependencies = [
|
|
@@ -34,7 +34,7 @@ full = [
|
|
|
34
34
|
"openpyxl==3.1.5",
|
|
35
35
|
"pandas==2.3.0",
|
|
36
36
|
"pdfplumber",
|
|
37
|
-
"pydantic
|
|
37
|
+
"pydantic>=2.12.3,<3.0.0",
|
|
38
38
|
"PyGithub==2.6.1",
|
|
39
39
|
"python-dotenv==1.1.0",
|
|
40
40
|
"pyzmq",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|