Source code for peek_plugin_base.agent.PluginAgentEntryHookABC

from typing import Optional

from peek_plugin_base.PluginCommonEntryHookABC import PluginCommonEntryHookABC
from peek_plugin_base.agent.PeekAgentPlatformHookABC import PeekAgentPlatformHookABC


[docs]class PluginAgentEntryHookABC(PluginCommonEntryHookABC): def __init__(self, pluginName: str, pluginRootDir: str, platform: PeekAgentPlatformHookABC): PluginCommonEntryHookABC.__init__(self, pluginName=pluginName, pluginRootDir=pluginRootDir) self._platform = platform @property def platform(self) -> PeekAgentPlatformHookABC: return self._platform @property def publishedAgentApi(self) -> Optional[object]: return None