Skip to content

Commit ba29588

Browse files
authored
Merge pull request #69 from atomscale-ai/enhancement/add_hash_col
Add sha256 column
2 parents 8187270 + c3b4a3e commit ba29588

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/atomscale/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ def search(
156156
"workspaces": "Workspaces",
157157
"project_ids": "Project ID",
158158
"project_names": "Project Name",
159+
"sha3_256": "sha256",
159160
}
160161

161162
columns_to_drop = [
@@ -207,6 +208,7 @@ def search(
207208
"Tags",
208209
"Owner",
209210
"Workspaces",
211+
"sha256",
210212
]
211213
ordered_cols = [col for col in desired_order if col in catalogue.columns] + [
212214
col for col in catalogue.columns if col not in desired_order

tests/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def test_generic_search(client: Client):
4747
"Sample Notes Last Updated",
4848
"Project ID",
4949
"Project Name",
50+
"sha256",
5051
]
5152
)
5253
assert not len(set(orig_data.keys().values) - column_names)

0 commit comments

Comments
 (0)