Skip to content

Commit a72d19a

Browse files
authored
Merge pull request #28 from UiPath/fix/factory_disposable
fix: add factory disposable
2 parents df8936e + a2f175b commit a72d19a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
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.16"
3+
version = "0.0.17"
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: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Protocol
44

5-
from uipath.runtime.base import UiPathRuntimeProtocol
5+
from uipath.runtime.base import UiPathDisposableProtocol, UiPathRuntimeProtocol
66

77

88
class UiPathRuntimeScannerProtocol(Protocol):
@@ -28,6 +28,9 @@ async def new_runtime(
2828

2929

3030
class UiPathRuntimeFactoryProtocol(
31-
UiPathRuntimeCreatorProtocol, UiPathRuntimeScannerProtocol, Protocol
31+
UiPathRuntimeCreatorProtocol,
32+
UiPathRuntimeScannerProtocol,
33+
UiPathDisposableProtocol,
34+
Protocol,
3235
):
3336
"""Protocol for discovering and creating UiPath runtime instances."""

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)