slim-bindings 0.3.6__cp310-cp310-macosx_10_12_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# This file is automatically generated by pyo3_stub_gen
|
|
2
|
+
# ruff: noqa: E501, F401
|
|
3
|
+
|
|
4
|
+
import builtins
|
|
5
|
+
import typing
|
|
6
|
+
from enum import Enum, auto
|
|
7
|
+
|
|
8
|
+
class PyAgentType:
|
|
9
|
+
r"""
|
|
10
|
+
agent class
|
|
11
|
+
"""
|
|
12
|
+
organization: builtins.str
|
|
13
|
+
namespace: builtins.str
|
|
14
|
+
agent_type: builtins.str
|
|
15
|
+
def __new__(cls,agent_org:builtins.str, agent_ns:builtins.str, agent_class:builtins.str): ...
|
|
16
|
+
|
|
17
|
+
class PyRequestResponseConfiguration:
|
|
18
|
+
r"""
|
|
19
|
+
request response session config
|
|
20
|
+
"""
|
|
21
|
+
...
|
|
22
|
+
|
|
23
|
+
class PyService:
|
|
24
|
+
id: builtins.int
|
|
25
|
+
|
|
26
|
+
class PySessionInfo:
|
|
27
|
+
id: builtins.int
|
|
28
|
+
def __new__(cls,session_id:builtins.int): ...
|
|
29
|
+
|
|
30
|
+
class PySessionConfiguration(Enum):
|
|
31
|
+
FireAndForget = auto()
|
|
32
|
+
RequestResponse = auto()
|
|
33
|
+
Streaming = auto()
|
|
34
|
+
|
|
35
|
+
class PySessionDirection(Enum):
|
|
36
|
+
r"""
|
|
37
|
+
session direction
|
|
38
|
+
"""
|
|
39
|
+
SENDER = auto()
|
|
40
|
+
RECEIVER = auto()
|
|
41
|
+
BIDIRECTIONAL = auto()
|
|
42
|
+
|
|
43
|
+
class PySessionType(Enum):
|
|
44
|
+
r"""
|
|
45
|
+
session type
|
|
46
|
+
"""
|
|
47
|
+
FIRE_AND_FORGET = auto()
|
|
48
|
+
REQUEST_RESPONSE = auto()
|
|
49
|
+
STREAMING = auto()
|
|
50
|
+
|
|
51
|
+
def connect(svc:PyService, config:dict) -> typing.Any:
|
|
52
|
+
...
|
|
53
|
+
|
|
54
|
+
def create_pyservice(organization:builtins.str, namespace:builtins.str, agent_type:builtins.str, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
def create_session(svc:PyService, config:PySessionConfiguration) -> typing.Any:
|
|
58
|
+
...
|
|
59
|
+
|
|
60
|
+
def delete_session(svc:PyService, session_id:builtins.int) -> typing.Any:
|
|
61
|
+
...
|
|
62
|
+
|
|
63
|
+
def disconnect(svc:PyService, conn:builtins.int) -> typing.Any:
|
|
64
|
+
...
|
|
65
|
+
|
|
66
|
+
def get_default_session_config(svc:PyService, session_type:PySessionType) -> typing.Any:
|
|
67
|
+
...
|
|
68
|
+
|
|
69
|
+
def get_session_config(svc:PyService, session_id:builtins.int) -> typing.Any:
|
|
70
|
+
...
|
|
71
|
+
|
|
72
|
+
def init_tracing(config:dict) -> typing.Any:
|
|
73
|
+
...
|
|
74
|
+
|
|
75
|
+
def publish(svc:PyService, session_info:PySessionInfo, fanout:builtins.int, blob:typing.Sequence[builtins.int], name:typing.Optional[PyAgentType]=None, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
76
|
+
...
|
|
77
|
+
|
|
78
|
+
def receive(svc:PyService) -> typing.Any:
|
|
79
|
+
...
|
|
80
|
+
|
|
81
|
+
def remove_route(svc:PyService, conn:builtins.int, name:PyAgentType, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
82
|
+
...
|
|
83
|
+
|
|
84
|
+
def run_server(svc:PyService, config:dict) -> typing.Any:
|
|
85
|
+
...
|
|
86
|
+
|
|
87
|
+
def set_default_session_config(svc:PyService, config:PySessionConfiguration) -> typing.Any:
|
|
88
|
+
...
|
|
89
|
+
|
|
90
|
+
def set_route(svc:PyService, conn:builtins.int, name:PyAgentType, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
91
|
+
...
|
|
92
|
+
|
|
93
|
+
def set_session_config(svc:PyService, session_id:builtins.int, config:PySessionConfiguration) -> typing.Any:
|
|
94
|
+
...
|
|
95
|
+
|
|
96
|
+
def stop_server(svc:PyService, endpoint:builtins.str) -> typing.Any:
|
|
97
|
+
...
|
|
98
|
+
|
|
99
|
+
def subscribe(svc:PyService, conn:builtins.int, name:PyAgentType, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
100
|
+
...
|
|
101
|
+
|
|
102
|
+
def unsubscribe(svc:PyService, conn:builtins.int, name:PyAgentType, id:typing.Optional[builtins.int]=None) -> typing.Any:
|
|
103
|
+
...
|
|
104
|
+
|