Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
85b2818
Update evo-objects dependencies
wordsworthc Oct 2, 2025
ab90ae9
Refactor parsing object API responses
wordsworthc Oct 3, 2025
eff1ba6
Fix workspace_id mismatch in list_objects_for_instance()
wordsworthc Oct 3, 2025
5716ff0
move ObjectAPIClient into client sub-package
wordsworthc Oct 3, 2025
7f71cc7
Add license header
wordsworthc Oct 3, 2025
b82c367
Move DownloadedObject into new file
wordsworthc Oct 3, 2025
47de124
add numpy and pyarrow-stubs to evo-objects utils dependencies
wordsworthc Oct 3, 2025
e75913b
Refactor to use ParquetLoader for downloading parquet data
wordsworthc Oct 3, 2025
1701667
WIP: Update unit tests
wordsworthc Oct 3, 2025
6897d86
Update data client unit tests
wordsworthc Oct 5, 2025
a021eb3
Remove outdated data client tests
wordsworthc Oct 5, 2025
d4796bb
Fix type annotation
wordsworthc Oct 5, 2025
82a1145
Add object reference type
wordsworthc Oct 5, 2025
8b7ef61
Use HTTPS test URLs
wordsworthc Oct 5, 2025
04834fe
Refactor downloading a geoscience object
wordsworthc Oct 5, 2025
81d773a
Fix formatting of hub URL and object path in ObjectReference
wordsworthc Oct 5, 2025
a265195
Merge branch 'feat/jmespath-support' into feat/improving-object-download
wordsworthc Oct 5, 2025
4326454
Move parse.py to client submodule
wordsworthc Oct 5, 2025
8092e4e
Add optional cache to ObjectAPIClient
wordsworthc Oct 5, 2025
faecdd6
Add optional JMESPath support to DownloadedObject
wordsworthc Oct 6, 2025
a904cfe
Move ParquetLoader to a separate submodule
wordsworthc Oct 6, 2025
0d7d890
Add optional support to DownloadedObject for downloading tables as py…
wordsworthc Oct 6, 2025
2d30f68
Export ObjectReference from evo.objects
wordsworthc Oct 6, 2025
2533605
Add unit tests for DownloadedObject
wordsworthc Oct 6, 2025
e124d40
Bump evo-objects to 0.3.0
wordsworthc Oct 6, 2025
c066364
Run uv lock
wordsworthc Oct 6, 2025
4cd763e
Update evo-objects quickstart
wordsworthc Oct 6, 2025
878b6b4
JMESPath support is not optional in evo-objects
wordsworthc Oct 6, 2025
a56f875
get_parquet_loader() doesn't need to be part of the public API
wordsworthc Oct 6, 2025
4112b6b
Rename `evo.objects.loader` -> `evo.objects.parquet`
wordsworthc Oct 7, 2025
8b07860
Refactor ParquetLoader into ParquetDownloader + ParquetLoader
wordsworthc Oct 7, 2025
4836794
Fix pydantic error in python 3.11
wordsworthc Oct 7, 2025
a43c437
Fix NoImport test util for macos
wordsworthc Oct 8, 2025
d1ffa20
Merge branch 'main' into feat/improving-object-download
wordsworthc Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "category colormap 1",
"schema": "category",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@
{
"attribute_id": "a fairly unique ID",
"colormap_id": "00000000-0000-0000-0000-000000000006",
"colormap_uri": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006",
"colormap_uri": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006",
"created_at": "2024-09-16 01:30:00",
"created_by": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-00000000001e",
"modified_at": "2024-09-16 01:30:00",
"modified_by": "00000000-0000-0000-0000-000000000010",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001e",
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001e",
"workspace_id": "00000000-0000-0000-0000-00000000162e"
},
{
"attribute_id": "00000000-0000-0000-0000-000000000002",
"colormap_id": "00000000-0000-0000-0000-000000000007",
"colormap_uri": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007",
"colormap_uri": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007",
"created_at": "2024-09-16 01:30:00",
"created_by": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-00000000001f",
"modified_at": "2024-09-16 01:30:00",
"modified_by": "00000000-0000-0000-0000-000000000010",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001f",
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001f",
"workspace_id": "00000000-0000-0000-0000-00000000162e"
},
{
"attribute_id": "another fairly unique ID",
"colormap_id": "00000000-0000-0000-0000-000000000008",
"colormap_uri": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008",
"colormap_uri": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008",
"created_at": "2024-09-16 01:30:00",
"created_by": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-000000000020",
"modified_at": "2024-09-16 01:30:00",
"modified_by": "00000000-0000-0000-0000-000000000010",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-000000000020",
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-000000000020",
"workspace_id": "00000000-0000-0000-0000-00000000162e"
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"attribute_id": "a very unique ID",
"colormap_id": "00000000-0000-0000-0000-000000000006",
"colormap_uri": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006",
"colormap_uri": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006",
"created_at": "2024-09-16 01:30:00",
"created_by": "00000000-0000-0000-0000-000000000010",
"id": "00000000-0000-0000-0000-00000000001e",
"modified_at": "2024-09-16 01:30:00",
"modified_by": "00000000-0000-0000-0000-000000000010",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001e",
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/objects/00000000-0000-0000-0000-000000000014/associations/00000000-0000-0000-0000-00000000001e",
"workspace_id": "00000000-0000-0000-0000-00000000162e"
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "continuous colormap 1",
"schema": "continuous",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006"
},
{
"colors": [
Expand Down Expand Up @@ -70,7 +70,7 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "discrete colormap 1",
"schema": "discrete",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007"
},
{
"colors": [
Expand Down Expand Up @@ -102,7 +102,7 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "category colormap 1",
"schema": "category",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000008"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "continuous colormap 1",
"schema": "continuous",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000006"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
"modified_by": "00000000-0000-0000-0000-000000000010",
"name": "discrete colormap 1",
"schema": "discrete",
"self_link": "http://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007"
"self_link": "https://unittest.localhost/colormap/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/colormaps/00000000-0000-0000-0000-000000000007"
}
6 changes: 3 additions & 3 deletions packages/evo-files/tests/data/get_file.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"name": "x y",
"email": "test@example.com"
},
"download": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"download": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"etag": "",
"file_id": "00000000-0000-0000-0000-000000000006",
"name": "points.csv",
"path": "/",
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"size": 10,
"version_id": "1",
"versions": [
Expand All @@ -28,7 +28,7 @@
"email": "test@example.com"
},
"file_id": "00000000-0000-0000-0000-000000000006",
"link": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"link": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"name": "points.csv",
"path": "/",
"size": 0,
Expand Down
6 changes: 3 additions & 3 deletions packages/evo-files/tests/data/get_file_long_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"name": "x y",
"email": "test@example.com"
},
"download": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"download": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"etag": "",
"file_id": "00000000-0000-0000-0000-000000000006",
"name": "pointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspointspoints.csv",
"path": "/",
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"size": 10,
"version_id": "1",
"versions": [
Expand All @@ -28,7 +28,7 @@
"email": "test@example.com"
},
"file_id": "00000000-0000-0000-0000-000000000006",
"link": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"link": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"name": "points.csv",
"path": "/",
"size": 0,
Expand Down
6 changes: 3 additions & 3 deletions packages/evo-files/tests/data/list_files_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"etag": "",
"links": {
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/A/m.json"
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/A/m.json"
},
"size": 11
},
Expand All @@ -43,14 +43,14 @@
},
"etag": "",
"links": {
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/A/n.json"
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/A/n.json"
},
"size": 12
}
],
"limit": 5000,
"links": {
"next": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files?path=pointset/&limit=2&offset=2",
"next": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files?path=pointset/&limit=2&offset=2",
"prev": null,
"self": ""
},
Expand Down
4 changes: 2 additions & 2 deletions packages/evo-files/tests/data/list_files_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
},
"etag": "",
"links": {
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/B/o.json"
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/B/o.json"
},
"size": 13
}
],
"limit": 5000,
"links": {
"next": null,
"prev": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files?limit=2&offset=0",
"prev": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files?limit=2&offset=0",
"self": ""
},
"offset": 0,
Expand Down
10 changes: 5 additions & 5 deletions packages/evo-files/tests/data/list_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"name": "x y",
"email": "test@example.com"
},
"download": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"download": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"etag": "",
"file_id": "00000000-0000-0000-0000-000000000006",
"name": "points.csv",
"path": "/",
"self": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"self": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"size": 14,
"version_id": "1",
"versions": [
Expand All @@ -28,7 +28,7 @@
"email": "test@example.com"
},
"file_id": "00000000-0000-0000-0000-000000000006",
"link": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"link": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"name": "points.csv",
"path": "/",
"size": 14,
Expand All @@ -42,7 +42,7 @@
"email": "test@example.com"
},
"file_id": "00000000-0000-0000-0000-000000000006",
"link": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"link": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"name": "points.csv",
"path": "/",
"size": 15,
Expand All @@ -56,7 +56,7 @@
"email": "test@example.com"
},
"file_id": "00000000-0000-0000-0000-000000000006",
"link": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"link": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points.csv",
"name": "points.csv",
"path": "/",
"size": 16,
Expand Down
2 changes: 1 addition & 1 deletion packages/evo-files/tests/data/update_file.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"file_id": "00000000-0000-0000-0000-000000000005",
"upload": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/00000000-0000-0000-0000-000000000005",
"upload": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/00000000-0000-0000-0000-000000000005",
"version_id": "1"
}
2 changes: 1 addition & 1 deletion packages/evo-files/tests/data/upsert_file.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"file_id": "00000000-0000-0000-0000-000000000005",
"upload": "http://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"upload": "https://unittest.localhost/path/file/v2/orgs/00000000-0000-0000-0000-0000000004d2/workspaces/00000000-0000-0000-0000-00000000162e/files/path/points_0.csv",
"version_id": "1"
}
Loading