From 31809d5e3f695f71078fc1b4ee08aecf158ba4ef Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Fri, 8 Dec 2023 22:17:01 +0100 Subject: [PATCH] Remove deprecation flag --- client/src/api/schema/schema.ts | 12 ++---------- lib/galaxy/webapps/galaxy/api/datasets.py | 2 -- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 5153606ca0ef..bd06205258ec 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -654,11 +654,7 @@ export interface paths { head: operations["history_contents_display_api_histories__history_id__contents__history_content_id__display_head"]; }; "/api/histories/{history_id}/contents/{history_content_id}/extra_files": { - /** - * Get the list of extra files/directories associated with a dataset. - * @deprecated - * @description This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead. - */ + /** Get the list of extra files/directories associated with a dataset. */ get: operations["extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get"]; }; "/api/histories/{history_id}/contents/{history_content_id}/metadata_file": { @@ -13800,11 +13796,7 @@ export interface operations { }; }; extra_files_history_api_histories__history_id__contents__history_content_id__extra_files_get: { - /** - * Get the list of extra files/directories associated with a dataset. - * @deprecated - * @description This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead. - */ + /** Get the list of extra files/directories associated with a dataset. */ parameters: { /** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */ header?: { diff --git a/lib/galaxy/webapps/galaxy/api/datasets.py b/lib/galaxy/webapps/galaxy/api/datasets.py index ebc21fbd27a4..14d4bc1fe019 100644 --- a/lib/galaxy/webapps/galaxy/api/datasets.py +++ b/lib/galaxy/webapps/galaxy/api/datasets.py @@ -244,7 +244,6 @@ def update_permissions( "/api/histories/{history_id}/contents/{history_content_id}/extra_files", summary="Get the list of extra files/directories associated with a dataset.", tags=["histories"], - deprecated=True, ) def extra_files_history( self, @@ -252,7 +251,6 @@ def extra_files_history( history_id: DecodedDatabaseIdField = HistoryIDPathParam, history_content_id: DecodedDatabaseIdField = DatasetIDPathParam, ) -> DatasetExtraFiles: - """This endpoint is deprecated, please use `/api/datasets/{dataset_id}/extra_files` instead.""" return self.service.extra_files(trans, history_content_id) @router.get(