From dffedeffb4c887434b5e1dafb6ce5788a33a2dec Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Tue, 26 Mar 2024 12:01:42 -0700 Subject: [PATCH] type accessible as literal False --- client/src/api/schema/schema.ts | 4 ++-- lib/galaxy/schema/schema.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/api/schema/schema.ts b/client/src/api/schema/schema.ts index 736d834b4347..2cd97ca688af 100644 --- a/client/src/api/schema/schema.ts +++ b/client/src/api/schema/schema.ts @@ -6004,9 +6004,9 @@ export interface components { HDAInaccessible: { /** * Accessible - * @description Whether this item is accessible to the current user due to permissions. + * @constant */ - accessible: boolean; + accessible: Record; /** Copied From Ldda Id */ copied_from_ldda_id?: string | null; /** diff --git a/lib/galaxy/schema/schema.py b/lib/galaxy/schema/schema.py index fe2b83fade3b..9e9360d56764 100644 --- a/lib/galaxy/schema/schema.py +++ b/lib/galaxy/schema/schema.py @@ -688,7 +688,7 @@ class HDASummary(HDACommon): class HDAInaccessible(HDACommon): """History Dataset Association information when the user can not access it.""" - accessible: bool = AccessibleField + accessible: Literal[False] state: DatasetStateField