Skip to content

Commit f291195

Browse files
committed
fix: add factory creator to dev server
1 parent 32a550b commit f291195

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

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"
3-
version = "2.8.25"
3+
version = "2.8.26"
44
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
55
readme = { file = "README.md", content-type = "text/markdown" }
66
requires-python = ">=3.11"

src/uipath/_cli/cli_dev.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,13 @@ def signal_handler(sig, frame):
141141
)
142142

143143
app = UiPathDeveloperServer(
144-
runtime_factory=factory, trace_manager=trace_manager
144+
runtime_factory=factory,
145+
trace_manager=trace_manager,
146+
factory_creator=lambda: UiPathRuntimeFactoryRegistry.get(
147+
context=UiPathRuntimeContext(
148+
trace_manager=trace_manager, command="dev"
149+
)
150+
),
145151
)
146152

147153
server_task = asyncio.create_task(app.run_async())

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)