From 4bcd4fed01ffbcb74e2a0a304ccb5aeecf9f72f3 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 28 Dec 2022 15:42:38 -0500 Subject: [PATCH] Improved typing for tool shed structured app. --- lib/tool_shed/structured_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tool_shed/structured_app.py b/lib/tool_shed/structured_app.py index ce18216daed..deb0b0ece6b 100644 --- a/lib/tool_shed/structured_app.py +++ b/lib/tool_shed/structured_app.py @@ -7,6 +7,7 @@ if TYPE_CHECKING: from tool_shed.repository_types.registry import Registry as RepositoryTypesRegistry from tool_shed.util.hgweb_config import HgWebConfigManager from tool_shed.webapp.model import mapping + from tool_shed.webapp.security import CommunityRBACAgent class ToolShedApp(BasicSharedApp): @@ -14,3 +15,4 @@ class ToolShedApp(BasicSharedApp): model: "mapping.ToolShedModelMapping" repository_registry: "RepositoryRegistry" hgweb_config_manager: "HgWebConfigManager" + security_agent: "CommunityRBACAgent"