kotharcomputing 1.7.0__tar.gz → 1.8.0__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.
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/PKG-INFO +1 -1
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/pyproject.toml +1 -1
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/_generated/operations.py +58 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/_generated/types.py +16 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing.egg-info/PKG-INFO +1 -1
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/README.md +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/setup.cfg +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/__init__.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/_generated/__init__.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/aleph_language_server.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/client.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/errors.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/py.typed +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/transport.py +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing.egg-info/SOURCES.txt +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing.egg-info/dependency_links.txt +0 -0
- {kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing.egg-info/top_level.txt +0 -0
{kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/_generated/operations.py
RENAMED
|
@@ -1630,6 +1630,64 @@ def task_artifact_download_url(
|
|
|
1630
1630
|
return response.json()
|
|
1631
1631
|
|
|
1632
1632
|
|
|
1633
|
+
def inspect_task_artifact(
|
|
1634
|
+
transport: ApiTransport,
|
|
1635
|
+
*,
|
|
1636
|
+
workspace_id: str,
|
|
1637
|
+
task_id: str,
|
|
1638
|
+
artifact_id: str,
|
|
1639
|
+
object_path: str,
|
|
1640
|
+
attributes: bool | None = None,
|
|
1641
|
+
offset: int | None = None,
|
|
1642
|
+
limit: int | None = None,
|
|
1643
|
+
) -> Types.TaskArtifactHdf5Inspection:
|
|
1644
|
+
"""Inspect an HDF5 object in an immutable task artifact"""
|
|
1645
|
+
response = transport.raw(
|
|
1646
|
+
"get",
|
|
1647
|
+
"/v1/workspaces/{workspaceId}/tasks/{taskId}/artifacts/{artifactId}/$inspect",
|
|
1648
|
+
path_params={
|
|
1649
|
+
"workspaceId": workspace_id,
|
|
1650
|
+
"taskId": task_id,
|
|
1651
|
+
"artifactId": artifact_id,
|
|
1652
|
+
},
|
|
1653
|
+
search_params={
|
|
1654
|
+
"objectPath": object_path,
|
|
1655
|
+
"attributes": attributes,
|
|
1656
|
+
"offset": offset,
|
|
1657
|
+
"limit": limit,
|
|
1658
|
+
},
|
|
1659
|
+
)
|
|
1660
|
+
return response.json()
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
def read_task_artifact_dataset(
|
|
1664
|
+
transport: ApiTransport,
|
|
1665
|
+
*,
|
|
1666
|
+
workspace_id: str,
|
|
1667
|
+
task_id: str,
|
|
1668
|
+
artifact_id: str,
|
|
1669
|
+
object_path: str,
|
|
1670
|
+
ranges: list[list[int]],
|
|
1671
|
+
representation: Literal["json", "binary"] | None = None,
|
|
1672
|
+
) -> RawResponse:
|
|
1673
|
+
"""Read a bounded HDF5 hyperslab from an immutable task artifact"""
|
|
1674
|
+
response = transport.raw(
|
|
1675
|
+
"get",
|
|
1676
|
+
"/v1/workspaces/{workspaceId}/tasks/{taskId}/artifacts/{artifactId}/$readDataset",
|
|
1677
|
+
path_params={
|
|
1678
|
+
"workspaceId": workspace_id,
|
|
1679
|
+
"taskId": task_id,
|
|
1680
|
+
"artifactId": artifact_id,
|
|
1681
|
+
},
|
|
1682
|
+
search_params={
|
|
1683
|
+
"objectPath": object_path,
|
|
1684
|
+
"ranges": json.dumps(ranges, separators=(",", ":")),
|
|
1685
|
+
"representation": representation,
|
|
1686
|
+
},
|
|
1687
|
+
)
|
|
1688
|
+
return response
|
|
1689
|
+
|
|
1690
|
+
|
|
1633
1691
|
def save_task_artifact(
|
|
1634
1692
|
transport: ApiTransport,
|
|
1635
1693
|
*,
|
|
@@ -1430,6 +1430,22 @@ class TaskArtifact(TypedDict, total=False):
|
|
|
1430
1430
|
taskId: Required[str]
|
|
1431
1431
|
|
|
1432
1432
|
|
|
1433
|
+
class TaskArtifactHdf5DatasetResponse(TypedDict, total=False):
|
|
1434
|
+
artifactId: Required[str]
|
|
1435
|
+
data: NotRequired[str]
|
|
1436
|
+
datatype: Required[Hdf5Datatype]
|
|
1437
|
+
dtype: Required[str]
|
|
1438
|
+
etag: Required[str]
|
|
1439
|
+
shape: Required[list[int]]
|
|
1440
|
+
values: NotRequired[list[Any]]
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
class TaskArtifactHdf5Inspection(TypedDict, total=False):
|
|
1444
|
+
artifactId: Required[str]
|
|
1445
|
+
etag: Required[str]
|
|
1446
|
+
node: Required[Hdf5Object]
|
|
1447
|
+
|
|
1448
|
+
|
|
1433
1449
|
class TaskArtifactListResponse(TypedDict, total=False):
|
|
1434
1450
|
items: Required[list[TaskArtifact]]
|
|
1435
1451
|
next: NotRequired[str]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing/aleph_language_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kotharcomputing-1.7.0 → kotharcomputing-1.8.0}/src/kotharcomputing.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|