Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeleton dev #285

Closed
wants to merge 39 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f8e819b
SkeletonService docs update. SkeletonService default versions clean-u…
kebwi Nov 21, 2024
f2ec3dd
Bug fix
kebwi Dec 6, 2024
d6d22ad
Bug fix
kebwi Dec 6, 2024
0ea4b96
Initial SkeletonClient tests
kebwi Dec 9, 2024
21d69d3
Bump version: 7.0.1 → 7.0.2
github-actions[bot] Nov 21, 2024
5b33f1a
Use pyproject.toml and new build system (#232)
bdpedigo Nov 22, 2024
43bd282
Bump version: 7.0.2 → 7.0.3
github-actions[bot] Nov 22, 2024
84b4374
Remove requirements.txt (#270)
bdpedigo Nov 22, 2024
dcc5f4c
Bump version: 7.0.3 → 7.0.4
github-actions[bot] Nov 22, 2024
35981b6
Leaves many (#273)
fcollman Dec 4, 2024
0fbad5d
Bump version: 7.0.4 → 7.1.0
github-actions[bot] Dec 4, 2024
0fa07b5
Allow get_state_json to accept direct URLs (#271)
ceesem Dec 4, 2024
603f7d5
Bump version: 7.1.0 → 7.2.0
github-actions[bot] Dec 4, 2024
7770a56
Use raw string notation in regex (#275)
bdpedigo Dec 5, 2024
dd29629
Bump version: 7.2.0 → 7.2.1
github-actions[bot] Dec 5, 2024
02abcfb
Get minimal covering nodes (#274)
fcollman Dec 5, 2024
f702997
Bump version: 7.2.1 → 7.3.0
github-actions[bot] Dec 5, 2024
dd362a1
add doc improvement to update_metadata
fcollman Dec 5, 2024
608c85d
Bump version: 7.3.0 → 7.3.1
github-actions[bot] Dec 5, 2024
07267ec
Merge branch 'master' into skeleton_dev
kebwi Dec 9, 2024
bdd2823
ruff cleanup
kebwi Dec 9, 2024
56855e5
ruff cleanup
kebwi Dec 9, 2024
4a3756b
Code cleanup
kebwi Dec 9, 2024
139c1a2
Merge branch 'master' into skeleton_dev
fcollman Dec 10, 2024
1121ab5
adding test to None functionality
fcollman Dec 10, 2024
942a48f
ruff cleanup
kebwi Dec 11, 2024
3a5bdb9
Merge branch 'master' into skeleton_dev
fcollman Dec 12, 2024
81dbc30
fixing imports adding formatting
fcollman Dec 12, 2024
8ca4536
fixiing test to have an assertion
fcollman Dec 12, 2024
4347fda
lint fix
fcollman Dec 12, 2024
2bd1221
updating doc string
fcollman Dec 12, 2024
0fc1bd7
skeletons_exist() now takes a numpy array of ints or strs (in additio…
kebwi Dec 13, 2024
3b06b9a
generate_bulk_skeletons_async() imposes a 10k limit and breaks the bu…
kebwi Dec 13, 2024
4206cb0
ruff cleanup
kebwi Dec 13, 2024
ae67cb0
adding codecov (#280)
fcollman Dec 12, 2024
0c04369
Codecov (#281)
fcollman Dec 12, 2024
9348b2b
Bump version: 7.3.2 → 7.4.0
github-actions[bot] Dec 12, 2024
14a49c9
Update changelog.md
fcollman Dec 12, 2024
e8166b4
update contributing guidelines (#283)
bdpedigo Dec 13, 2024
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
7 changes: 3 additions & 4 deletions tests/test_annotation.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@

from caveclient.endpoints import annotation_endpoints_v2, schema_endpoints_v2


from .conftest import datastack_dict, test_info

test_jsonschema = {
@@ -199,16 +198,16 @@ def test_update_metadata(self, myclient):
post_url = self.ae_endpoints.get("tables").format_map(endpoint_mapping)

metadata = {"description": "a new description", "notice_text": ""}

metadata_return = {"description": "a new description", "notice_text": None}
metadata_match = {"metadata": metadata, "table_name": update_table_name}
responses.add(
responses.PUT,
url=post_url,
json=metadata,
json=metadata_return,
match=[json_params_matcher(metadata_match)],
)

resp = myclient.annotation.update_metadata(
update_table_name, description="a new description", notice_text="None"
)
print(resp)
assert resp["notice_text"] == None