File tree Expand file tree Collapse file tree 13 files changed +22
-108
lines changed
Expand file tree Collapse file tree 13 files changed +22
-108
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description = "Runtime abstractions and interfaces for building agents and autom
55readme = { file = " README.md" , content-type = " text/markdown" }
66requires-python = " >=3.11"
77dependencies = [
8- " uipath-core>= 0.5.0, <0.6.0 " ,
8+ " uipath-core== 0.5.1.dev1000450222 " ,
99]
1010classifiers = [
1111 " Intended Audience :: Developers" ,
@@ -106,3 +106,6 @@ name = "testpypi"
106106url = " https://test.pypi.org/simple/"
107107publish-url = " https://test.pypi.org/legacy/"
108108explicit = true
109+
110+ [tool .uv .sources ]
111+ uipath-core = { index = " testpypi" }
Original file line number Diff line number Diff line change 3333from uipath .runtime .resumable .runtime import (
3434 UiPathResumableRuntime ,
3535)
36- from uipath .runtime .resumable .trigger import (
37- UiPathApiTrigger ,
38- UiPathResumeTrigger ,
39- UiPathResumeTriggerName ,
40- UiPathResumeTriggerType ,
41- )
4236from uipath .runtime .schema import UiPathRuntimeSchema
4337from uipath .runtime .storage import UiPathRuntimeStorageProtocol
4438
5852 "UiPathRuntimeSchema" ,
5953 "UiPathResumableStorageProtocol" ,
6054 "UiPathResumeTriggerProtocol" ,
61- "UiPathApiTrigger" ,
62- "UiPathResumeTrigger" ,
63- "UiPathResumeTriggerType" ,
6455 "UiPathResumableRuntime" ,
6556 "UiPathDebugQuitError" ,
6657 "UiPathDebugProtocol" ,
6758 "UiPathDebugRuntime" ,
6859 "UiPathBreakpointResult" ,
6960 "UiPathStreamNotSupportedError" ,
70- "UiPathResumeTriggerName" ,
7161 "UiPathChatProtocol" ,
7262 "UiPathChatRuntime" ,
7363]
Original file line number Diff line number Diff line change 55from uipath .core .chat import (
66 UiPathConversationMessageEvent ,
77)
8-
9- from uipath .runtime .resumable .trigger import UiPathResumeTrigger
8+ from uipath .core .triggers import UiPathResumeTrigger
109
1110
1211class UiPathChatProtocol (Protocol ):
Original file line number Diff line number Diff line change 33import logging
44from typing import Any , AsyncGenerator , cast
55
6+ from uipath .core .triggers import UiPathResumeTriggerType
7+
68from uipath .runtime .base import (
79 UiPathExecuteOptions ,
810 UiPathRuntimeProtocol ,
1719 UiPathRuntimeResult ,
1820 UiPathRuntimeStatus ,
1921)
20- from uipath .runtime .resumable .trigger import UiPathResumeTriggerType
2122from uipath .runtime .schema import UiPathRuntimeSchema
2223
2324logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 55from typing import Any , AsyncGenerator , cast
66
77from uipath .core .errors import UiPathPendingTriggerError
8+ from uipath .core .triggers import (
9+ UiPathResumeTrigger ,
10+ UiPathResumeTriggerType ,
11+ )
812
913from uipath .runtime .base import (
1014 UiPathExecuteOptions ,
2731)
2832from uipath .runtime .resumable .protocols import UiPathResumeTriggerReaderProtocol
2933from uipath .runtime .resumable .runtime import UiPathResumableRuntime
30- from uipath .runtime .resumable .trigger import (
31- UiPathResumeTrigger ,
32- UiPathResumeTriggerType ,
33- )
3434from uipath .runtime .schema import UiPathRuntimeSchema
3535
3636logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 44from typing import Any
55
66from pydantic import BaseModel , Field
7+ from uipath .core .triggers import UiPathResumeTrigger
78
89from uipath .runtime .errors import UiPathErrorContract
910from uipath .runtime .events import UiPathRuntimeEvent , UiPathRuntimeEventType
10- from uipath .runtime .resumable .trigger import UiPathResumeTrigger
1111
1212
1313class UiPathRuntimeStatus (str , Enum ):
Original file line number Diff line number Diff line change 66 UiPathResumeTriggerProtocol ,
77 UiPathResumeTriggerReaderProtocol ,
88)
9- from uipath .runtime .resumable .trigger import (
10- UiPathApiTrigger ,
11- UiPathResumeTrigger ,
12- UiPathResumeTriggerType ,
13- )
149
1510__all__ = [
1611 "UiPathResumableStorageProtocol" ,
1712 "UiPathResumeTriggerCreatorProtocol" ,
1813 "UiPathResumeTriggerReaderProtocol" ,
1914 "UiPathResumeTriggerProtocol" ,
20- "UiPathResumeTrigger" ,
21- "UiPathResumeTriggerType" ,
22- "UiPathApiTrigger" ,
2315]
Original file line number Diff line number Diff line change 22
33from typing import Any , Protocol
44
5- from uipath .runtime .resumable .trigger import UiPathResumeTrigger
5+ from uipath .core .triggers import UiPathResumeTrigger
6+
67from uipath .runtime .storage import UiPathRuntimeStorageProtocol
78
89
Original file line number Diff line number Diff line change 44from typing import Any , AsyncGenerator
55
66from uipath .core .errors import UiPathPendingTriggerError
7+ from uipath .core .triggers import UiPathResumeTrigger , UiPathResumeTriggerType
78
89from uipath .runtime .base import (
910 UiPathExecuteOptions ,
1617 UiPathRuntimeResult ,
1718 UiPathRuntimeStatus ,
1819)
19- from uipath .runtime .resumable import UiPathResumeTriggerType
2020from uipath .runtime .resumable .protocols import (
2121 UiPathResumableStorageProtocol ,
2222 UiPathResumeTriggerProtocol ,
2323)
24- from uipath .runtime .resumable .trigger import UiPathResumeTrigger
2524from uipath .runtime .schema import UiPathRuntimeSchema
2625
2726logger = logging .getLogger (__name__ )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments