|
6 | 6 | from uipath.runtime import ( |
7 | 7 | UiPathExecuteOptions, |
8 | 8 | UiPathRuntimeEvent, |
| 9 | + UiPathRuntimeFactorySettings, |
9 | 10 | UiPathRuntimeProtocol, |
10 | 11 | UiPathRuntimeResult, |
11 | 12 | UiPathRuntimeStatus, |
| 13 | + UiPathRuntimeStorageProtocol, |
12 | 14 | UiPathStreamOptions, |
13 | 15 | ) |
14 | 16 | from uipath.runtime.schema import UiPathRuntimeSchema |
@@ -75,8 +77,11 @@ def __init__(self, executor): |
75 | 77 | def discover_entrypoints(self) -> list[str]: |
76 | 78 | return ["test"] |
77 | 79 |
|
78 | | - async def discover_runtimes(self) -> list[UiPathRuntimeProtocol]: |
79 | | - return [TestRuntime(self.executor)] |
| 80 | + async def get_storage(self) -> UiPathRuntimeStorageProtocol | None: |
| 81 | + return None |
| 82 | + |
| 83 | + async def get_settings(self) -> UiPathRuntimeFactorySettings | None: |
| 84 | + return None |
80 | 85 |
|
81 | 86 | async def new_runtime( |
82 | 87 | self, entrypoint: str, runtime_id: str, **kwargs |
@@ -176,8 +181,11 @@ def __init__(self, executor): |
176 | 181 | def discover_entrypoints(self) -> list[str]: |
177 | 182 | return ["test"] |
178 | 183 |
|
179 | | - async def discover_runtimes(self) -> list[UiPathRuntimeProtocol]: |
180 | | - return [TestRuntime(self.executor)] |
| 184 | + async def get_storage(self) -> UiPathRuntimeStorageProtocol | None: |
| 185 | + return None |
| 186 | + |
| 187 | + async def get_settings(self) -> UiPathRuntimeFactorySettings | None: |
| 188 | + return None |
181 | 189 |
|
182 | 190 | async def new_runtime( |
183 | 191 | self, entrypoint: str, runtime_id: str, **kwargs |
@@ -262,8 +270,11 @@ def __init__(self, executor): |
262 | 270 | def discover_entrypoints(self) -> list[str]: |
263 | 271 | return ["test"] |
264 | 272 |
|
265 | | - async def discover_runtimes(self) -> list[UiPathRuntimeProtocol]: |
266 | | - return [TestRuntime(self.executor)] |
| 273 | + async def get_storage(self) -> UiPathRuntimeStorageProtocol | None: |
| 274 | + return None |
| 275 | + |
| 276 | + async def get_settings(self) -> UiPathRuntimeFactorySettings | None: |
| 277 | + return None |
267 | 278 |
|
268 | 279 | async def new_runtime( |
269 | 280 | self, entrypoint: str, runtime_id: str, **kwargs |
|
0 commit comments