From d6230f1af920468505aa919096ecba0433538b44 Mon Sep 17 00:00:00 2001 From: Keith Wiley Date: Mon, 16 Dec 2024 11:36:54 -0800 Subject: [PATCH] Added deprecation TODO comments to bulk async skeleton GET endpoints. --- caveclient/endpoints.py | 4 ++-- caveclient/skeletonservice.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/caveclient/endpoints.py b/caveclient/endpoints.py index e5c0eb80..58ec9fcd 100644 --- a/caveclient/endpoints.py +++ b/caveclient/endpoints.py @@ -320,11 +320,11 @@ + "/{datastack_name}/bulk/get_skeletons/{output_format}/{gen_missing_sks}/{root_ids}", "get_bulk_skeletons_via_skvn_rids": skeleton_v1 + "/{datastack_name}/bulk/get_skeletons/{skeleton_version}/{output_format}/{gen_missing_sks}/{root_ids}", - # DEPRECATED: This endpoint is deprecated and will be removed in the future. + # TODO: DEPRECATED: This endpoint is deprecated and will be removed in the future. # Please use the POST endpoint in the future. "gen_bulk_skeletons_via_rids": skeleton_v1 + "/{datastack_name}/bulk/gen_skeletons/{root_ids}", - # DEPRECATED: This endpoint is deprecated and will be removed in the future. + # TODO: DEPRECATED: This endpoint is deprecated and will be removed in the future. # Please use the POST endpoint in the future. "gen_bulk_skeletons_via_skvn_rids": skeleton_v1 + "/{datastack_name}/bulk/gen_skeletons/{skeleton_version}/{root_ids}", diff --git a/caveclient/skeletonservice.py b/caveclient/skeletonservice.py index a169f8d7..6cfa05fc 100644 --- a/caveclient/skeletonservice.py +++ b/caveclient/skeletonservice.py @@ -308,7 +308,7 @@ def _build_bulk_async_endpoint( endpoint_mapping = self.default_url_mapping endpoint_mapping["datastack_name"] = datastack_name if not post: - # DEPRECATED: This endpoint is deprecated and will be removed in the future. + # TODO: DEPRECATED: This endpoint is deprecated and will be removed in the future. # Please use the POST endpoint in the future. endpoint_mapping["root_ids"] = ",".join([str(v) for v in root_ids])