File tree Expand file tree Collapse file tree 13 files changed +32
-101
lines changed
Expand file tree Collapse file tree 13 files changed +32
-101
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.2 " ,
99]
1010classifiers = [
1111 " Intended Audience :: Developers" ,
Original file line number Diff line number Diff line change 11"""UiPath Runtime Package."""
22
3+ from uipath .core .triggers import (
4+ UiPathApiTrigger ,
5+ UiPathResumeTrigger ,
6+ UiPathResumeTriggerName ,
7+ UiPathResumeTriggerType ,
8+ )
9+
310from uipath .runtime .base import (
411 UiPathExecuteOptions ,
512 UiPathExecutionRuntime ,
3340from uipath .runtime .resumable .runtime import (
3441 UiPathResumableRuntime ,
3542)
36- from uipath .runtime .resumable .trigger import (
37- UiPathApiTrigger ,
38- UiPathResumeTrigger ,
39- UiPathResumeTriggerName ,
40- UiPathResumeTriggerType ,
41- )
4243from uipath .runtime .schema import UiPathRuntimeSchema
4344from uipath .runtime .storage import UiPathRuntimeStorageProtocol
4445
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 11"""Module for resumable runtime features."""
22
3+ from uipath .core .triggers import (
4+ UiPathApiTrigger ,
5+ UiPathResumeTrigger ,
6+ UiPathResumeTriggerType ,
7+ )
8+
39from uipath .runtime .resumable .protocols import (
410 UiPathResumableStorageProtocol ,
511 UiPathResumeTriggerCreatorProtocol ,
612 UiPathResumeTriggerProtocol ,
713 UiPathResumeTriggerReaderProtocol ,
814)
9- from uipath .runtime .resumable .trigger import (
10- UiPathApiTrigger ,
11- UiPathResumeTrigger ,
12- UiPathResumeTriggerType ,
13- )
1415
1516__all__ = [
1617 "UiPathResumableStorageProtocol" ,
1718 "UiPathResumeTriggerCreatorProtocol" ,
1819 "UiPathResumeTriggerReaderProtocol" ,
1920 "UiPathResumeTriggerProtocol" ,
21+ "UiPathApiTrigger" ,
2022 "UiPathResumeTrigger" ,
2123 "UiPathResumeTriggerType" ,
22- "UiPathApiTrigger" ,
2324]
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