lumera 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl

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/storage.py CHANGED
@@ -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("object_key", ""),
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
- files = resp.json()
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.0
3
+ Version: 0.5.1
4
4
  Summary: SDK for building on Lumera platform
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: requests
@@ -6,8 +6,8 @@ lumera/llm.py,sha256=pUTZK7t3GTK0vfxMI1PJgJwNendyuiJc5MB1pUj2vxE,14412
6
6
  lumera/locks.py,sha256=8l_qxb8nrxge7YJ-ApUTJ5MeYpIdxDeEa94Eim9O-YM,6806
7
7
  lumera/pb.py,sha256=nYD8veZWUxPK3pKImoP72VZMBkBQvCLbJErxRBPVykk,8858
8
8
  lumera/sdk.py,sha256=ibkf85HFMUQPaFyhCaV4DZf0IwZf1yrEW9XFPjsGZOY,26875
9
- lumera/storage.py,sha256=Eo4HrasZ0DKt-qVHT8UsrtfbD7hNQUU13oosjto7C-k,8157
10
- lumera-0.5.0.dist-info/METADATA,sha256=wFXpJ082TIaPLR_Q1Kday5DL_i4fMx_IpmqN74_Jm0A,1604
11
- lumera-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- lumera-0.5.0.dist-info/top_level.txt,sha256=HgfK4XQkpMTnM2E5iWM4kB711FnYqUY9dglzib3pWlE,7
13
- lumera-0.5.0.dist-info/RECORD,,
9
+ lumera/storage.py,sha256=kQQJYVRnxcpDZQ_gB2iZy6anb3hyZN7b8a_oNuE2yYE,8191
10
+ lumera-0.5.1.dist-info/METADATA,sha256=TpymAeIKBpQKRYq_lPAHZPfgb3g61L_fGgBG-W_A_1w,1604
11
+ lumera-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
+ lumera-0.5.1.dist-info/top_level.txt,sha256=HgfK4XQkpMTnM2E5iWM4kB711FnYqUY9dglzib3pWlE,7
13
+ lumera-0.5.1.dist-info/RECORD,,
File without changes