From f7ebcd8a5af5235aa9e6bfeddc2b4965347105e4 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Mon, 3 Nov 2025 09:44:06 +0100 Subject: [PATCH] Minor fixes in trust schema Some multiline strings (descriptions) that are in brackets have a comma at the end which result in it being treated as a list rather than a string. Change-Id: Ib39e2196d1781a24afb152ba1e61c999ab474712 Signed-off-by: Artem Goncharov --- keystone/trust/schema.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/keystone/trust/schema.py b/keystone/trust/schema.py index 20050bfe5e..acd1fe6d2a 100644 --- a/keystone/trust/schema.py +++ b/keystone/trust/schema.py @@ -46,8 +46,7 @@ _trust_properties = { }, "trustee_user_id": { "type": "string", - "description": "Represents the user who is capable of consuming " - "the trust.", + "description": "Represents the user who is capable of consuming the trust.", }, "impersonation": { "type": "boolean", @@ -62,8 +61,7 @@ _trust_properties = { "project_id": { "type": ["string", "null"], "description": ( - "Identifies the project upon which the trustor is " - "delegating authorization." + "Identifies the project upon which the trustor is delegating authorization." ), }, "remaining_uses": { @@ -130,7 +128,7 @@ _trust_properties = { "type": ["string", "null"], "description": ( "Returned with redelegated trust provides information " - "about the predecessor in the trust chain.", + "about the predecessor in the trust chain." ), }, } @@ -165,8 +163,7 @@ trust_index_request_query: dict[str, Any] = { }, "trustee_user_id": { "type": "string", - "description": "Represents the user who is capable of consuming " - "the trust.", + "description": "Represents the user who is capable of consuming the trust.", }, }, # TODO(stephenfin): Change this to False once we have schemas for all