Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Oct 21, 2024
1 parent f1d792d commit 2da5da3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies = [
"npc-session>=0.1.39",
"aind-data-access-api[docdb]>=0.14.0",
]
version = "0.3.7"
version = "0.3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
Expand Down
4 changes: 3 additions & 1 deletion src/aind_session/utils/codeocean_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,9 @@ def get_data_assets(
search_params["sort_order"] = codeocean.components.SortOrder.Ascending

t0 = time.time()
search_results: tuple[dict[str, Any], ...] = search_data_assets(search_params, as_dict=True)
search_results: tuple[dict[str, Any], ...] = search_data_assets(
search_params, as_dict=True
)
assets = [
codeocean.data_asset.DataAsset.from_dict(result)
for result in search_results
Expand Down
2 changes: 1 addition & 1 deletion src/aind_session/utils/docdb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def extract_codeocean_data_asset_ids_from_docdb_record(
) -> tuple[str, ...]:
"""
Returns the Code Ocean asset ID(s) from a DocDB record's `external_links`.
Examples
--------
>>> format_a = {'external_links': {"Code Ocean": ['id0', 'id2']}}
Expand Down

0 comments on commit 2da5da3

Please sign in to comment.