Skip to content

Commit 06f88bd

Browse files
committed
fix: add runtime_id to factory new_runtime
1 parent f0ad959 commit 06f88bd

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "uipath-runtime"
3-
version = "0.0.14"
3+
version = "0.0.15"
44
description = "Runtime abstractions and interfaces for building agents and automation scripts in the UiPath ecosystem"
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/runtime/factory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ def discover_entrypoints(self) -> list[str]:
2020
class UiPathRuntimeCreatorProtocol(Protocol):
2121
"""Protocol for creating a UiPath runtime given an entrypoint."""
2222

23-
async def new_runtime(self, entrypoint: str) -> UiPathRuntimeProtocol:
23+
async def new_runtime(
24+
self, entrypoint: str, runtime_id: str
25+
) -> UiPathRuntimeProtocol:
2426
"""Create a new runtime instance."""
2527
...
2628

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)