Files
galaxy/lib/tool_shed/structured_app.py
T
John Chilton c8c18a60b0 Move RequiredAppT back into galaxy packages.
Follow up from #19642. I'm trying to get all the Galaxy type annotations to only use Galaxy code.
2025-02-26 10:21:35 -05:00

23 lines
882 B
Python

from typing import TYPE_CHECKING
from galaxy.structured_app import BasicSharedApp
if TYPE_CHECKING:
from galaxy.tools.data import ToolDataTableManager
from tool_shed.managers.model_cache import ModelCache
from tool_shed.repository_registry import RegistryInterface
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):
repository_types_registry: "RepositoryTypesRegistry"
model: "mapping.ToolShedModelMapping"
repository_registry: "RegistryInterface"
hgweb_config_manager: "HgWebConfigManager"
security_agent: "CommunityRBACAgent"
model_cache: "ModelCache"
tool_data_tables: "ToolDataTableManager"