chatgraph 0.4.2__py3-none-any.whl → 0.5.0__py3-none-any.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.

Potentially problematic release.


This version of chatgraph might be problematic. Click here for more details.

@@ -1,470 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
- import warnings
5
-
6
- import chatgraph.pb.voll_pb2 as voll__pb2
7
-
8
- GRPC_GENERATED_VERSION = '1.67.0'
9
- GRPC_VERSION = grpc.__version__
10
- _version_not_supported = False
11
-
12
- try:
13
- from grpc._utilities import first_version_is_lower
14
- _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
15
- except ImportError:
16
- _version_not_supported = True
17
-
18
- if _version_not_supported:
19
- raise RuntimeError(
20
- f'The grpc package installed is at version {GRPC_VERSION},'
21
- + f' but the generated code in voll_pb2_grpc.py depends on'
22
- + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
- + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
- + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
25
- )
26
-
27
-
28
- class MessageServiceStub(object):
29
- """Missing associated documentation comment in .proto file."""
30
-
31
- def __init__(self, channel):
32
- """Constructor.
33
-
34
- Args:
35
- channel: A grpc.Channel.
36
- """
37
- self.SendButton = channel.unary_unary(
38
- '/messagevoll.MessageService/SendButton',
39
- request_serializer=voll__pb2.MessageRequest.SerializeToString,
40
- response_deserializer=voll__pb2.MessageResponse.FromString,
41
- _registered_method=True)
42
- self.SendList = channel.unary_unary(
43
- '/messagevoll.MessageService/SendList',
44
- request_serializer=voll__pb2.MessageRequest.SerializeToString,
45
- response_deserializer=voll__pb2.MessageResponse.FromString,
46
- _registered_method=True)
47
- self.SendText = channel.unary_unary(
48
- '/messagevoll.MessageService/SendText',
49
- request_serializer=voll__pb2.MessageRequest.SerializeToString,
50
- response_deserializer=voll__pb2.MessageResponse.FromString,
51
- _registered_method=True)
52
- self.TransferToHuman = channel.unary_unary(
53
- '/messagevoll.MessageService/TransferToHuman',
54
- request_serializer=voll__pb2.MessageRequest.SerializeToString,
55
- response_deserializer=voll__pb2.MessageResponse.FromString,
56
- _registered_method=True)
57
- self.EndChat = channel.unary_unary(
58
- '/messagevoll.MessageService/EndChat',
59
- request_serializer=voll__pb2.MessageRequest.SerializeToString,
60
- response_deserializer=voll__pb2.MessageResponse.FromString,
61
- _registered_method=True)
62
-
63
-
64
- class MessageServiceServicer(object):
65
- """Missing associated documentation comment in .proto file."""
66
-
67
- def SendButton(self, request, context):
68
- """Missing associated documentation comment in .proto file."""
69
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
70
- context.set_details('Method not implemented!')
71
- raise NotImplementedError('Method not implemented!')
72
-
73
- def SendList(self, request, context):
74
- """Missing associated documentation comment in .proto file."""
75
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
76
- context.set_details('Method not implemented!')
77
- raise NotImplementedError('Method not implemented!')
78
-
79
- def SendText(self, request, context):
80
- """Missing associated documentation comment in .proto file."""
81
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
82
- context.set_details('Method not implemented!')
83
- raise NotImplementedError('Method not implemented!')
84
-
85
- def TransferToHuman(self, request, context):
86
- """Missing associated documentation comment in .proto file."""
87
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
88
- context.set_details('Method not implemented!')
89
- raise NotImplementedError('Method not implemented!')
90
-
91
- def EndChat(self, request, context):
92
- """Missing associated documentation comment in .proto file."""
93
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
94
- context.set_details('Method not implemented!')
95
- raise NotImplementedError('Method not implemented!')
96
-
97
-
98
- def add_MessageServiceServicer_to_server(servicer, server):
99
- rpc_method_handlers = {
100
- 'SendButton': grpc.unary_unary_rpc_method_handler(
101
- servicer.SendButton,
102
- request_deserializer=voll__pb2.MessageRequest.FromString,
103
- response_serializer=voll__pb2.MessageResponse.SerializeToString,
104
- ),
105
- 'SendList': grpc.unary_unary_rpc_method_handler(
106
- servicer.SendList,
107
- request_deserializer=voll__pb2.MessageRequest.FromString,
108
- response_serializer=voll__pb2.MessageResponse.SerializeToString,
109
- ),
110
- 'SendText': grpc.unary_unary_rpc_method_handler(
111
- servicer.SendText,
112
- request_deserializer=voll__pb2.MessageRequest.FromString,
113
- response_serializer=voll__pb2.MessageResponse.SerializeToString,
114
- ),
115
- 'TransferToHuman': grpc.unary_unary_rpc_method_handler(
116
- servicer.TransferToHuman,
117
- request_deserializer=voll__pb2.MessageRequest.FromString,
118
- response_serializer=voll__pb2.MessageResponse.SerializeToString,
119
- ),
120
- 'EndChat': grpc.unary_unary_rpc_method_handler(
121
- servicer.EndChat,
122
- request_deserializer=voll__pb2.MessageRequest.FromString,
123
- response_serializer=voll__pb2.MessageResponse.SerializeToString,
124
- ),
125
- }
126
- generic_handler = grpc.method_handlers_generic_handler(
127
- 'messagevoll.MessageService', rpc_method_handlers)
128
- server.add_generic_rpc_handlers((generic_handler,))
129
- server.add_registered_method_handlers('messagevoll.MessageService', rpc_method_handlers)
130
-
131
-
132
- # This class is part of an EXPERIMENTAL API.
133
- class MessageService(object):
134
- """Missing associated documentation comment in .proto file."""
135
-
136
- @staticmethod
137
- def SendButton(request,
138
- target,
139
- options=(),
140
- channel_credentials=None,
141
- call_credentials=None,
142
- insecure=False,
143
- compression=None,
144
- wait_for_ready=None,
145
- timeout=None,
146
- metadata=None):
147
- return grpc.experimental.unary_unary(
148
- request,
149
- target,
150
- '/messagevoll.MessageService/SendButton',
151
- voll__pb2.MessageRequest.SerializeToString,
152
- voll__pb2.MessageResponse.FromString,
153
- options,
154
- channel_credentials,
155
- insecure,
156
- call_credentials,
157
- compression,
158
- wait_for_ready,
159
- timeout,
160
- metadata,
161
- _registered_method=True)
162
-
163
- @staticmethod
164
- def SendList(request,
165
- target,
166
- options=(),
167
- channel_credentials=None,
168
- call_credentials=None,
169
- insecure=False,
170
- compression=None,
171
- wait_for_ready=None,
172
- timeout=None,
173
- metadata=None):
174
- return grpc.experimental.unary_unary(
175
- request,
176
- target,
177
- '/messagevoll.MessageService/SendList',
178
- voll__pb2.MessageRequest.SerializeToString,
179
- voll__pb2.MessageResponse.FromString,
180
- options,
181
- channel_credentials,
182
- insecure,
183
- call_credentials,
184
- compression,
185
- wait_for_ready,
186
- timeout,
187
- metadata,
188
- _registered_method=True)
189
-
190
- @staticmethod
191
- def SendText(request,
192
- target,
193
- options=(),
194
- channel_credentials=None,
195
- call_credentials=None,
196
- insecure=False,
197
- compression=None,
198
- wait_for_ready=None,
199
- timeout=None,
200
- metadata=None):
201
- return grpc.experimental.unary_unary(
202
- request,
203
- target,
204
- '/messagevoll.MessageService/SendText',
205
- voll__pb2.MessageRequest.SerializeToString,
206
- voll__pb2.MessageResponse.FromString,
207
- options,
208
- channel_credentials,
209
- insecure,
210
- call_credentials,
211
- compression,
212
- wait_for_ready,
213
- timeout,
214
- metadata,
215
- _registered_method=True)
216
-
217
- @staticmethod
218
- def TransferToHuman(request,
219
- target,
220
- options=(),
221
- channel_credentials=None,
222
- call_credentials=None,
223
- insecure=False,
224
- compression=None,
225
- wait_for_ready=None,
226
- timeout=None,
227
- metadata=None):
228
- return grpc.experimental.unary_unary(
229
- request,
230
- target,
231
- '/messagevoll.MessageService/TransferToHuman',
232
- voll__pb2.MessageRequest.SerializeToString,
233
- voll__pb2.MessageResponse.FromString,
234
- options,
235
- channel_credentials,
236
- insecure,
237
- call_credentials,
238
- compression,
239
- wait_for_ready,
240
- timeout,
241
- metadata,
242
- _registered_method=True)
243
-
244
- @staticmethod
245
- def EndChat(request,
246
- target,
247
- options=(),
248
- channel_credentials=None,
249
- call_credentials=None,
250
- insecure=False,
251
- compression=None,
252
- wait_for_ready=None,
253
- timeout=None,
254
- metadata=None):
255
- return grpc.experimental.unary_unary(
256
- request,
257
- target,
258
- '/messagevoll.MessageService/EndChat',
259
- voll__pb2.MessageRequest.SerializeToString,
260
- voll__pb2.MessageResponse.FromString,
261
- options,
262
- channel_credentials,
263
- insecure,
264
- call_credentials,
265
- compression,
266
- wait_for_ready,
267
- timeout,
268
- metadata,
269
- _registered_method=True)
270
-
271
-
272
- class ActionsServiceStub(object):
273
- """Missing associated documentation comment in .proto file."""
274
-
275
- def __init__(self, channel):
276
- """Constructor.
277
-
278
- Args:
279
- channel: A grpc.Channel.
280
- """
281
- self.GetCampaignID = channel.unary_unary(
282
- '/messagevoll.ActionsService/GetCampaignID',
283
- request_serializer=voll__pb2.CampaignName.SerializeToString,
284
- response_deserializer=voll__pb2.CampaignDetails.FromString,
285
- _registered_method=True)
286
- self.GetCampaignsList = channel.unary_unary(
287
- '/messagevoll.ActionsService/GetCampaignsList',
288
- request_serializer=voll__pb2.Void.SerializeToString,
289
- response_deserializer=voll__pb2.CampaignsList.FromString,
290
- _registered_method=True)
291
- self.GetTabulationID = channel.unary_unary(
292
- '/messagevoll.ActionsService/GetTabulationID',
293
- request_serializer=voll__pb2.TabulationName.SerializeToString,
294
- response_deserializer=voll__pb2.TabulationDetails.FromString,
295
- _registered_method=True)
296
- self.GetTabulationsList = channel.unary_unary(
297
- '/messagevoll.ActionsService/GetTabulationsList',
298
- request_serializer=voll__pb2.Void.SerializeToString,
299
- response_deserializer=voll__pb2.TabulationsList.FromString,
300
- _registered_method=True)
301
-
302
-
303
- class ActionsServiceServicer(object):
304
- """Missing associated documentation comment in .proto file."""
305
-
306
- def GetCampaignID(self, request, context):
307
- """Missing associated documentation comment in .proto file."""
308
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
309
- context.set_details('Method not implemented!')
310
- raise NotImplementedError('Method not implemented!')
311
-
312
- def GetCampaignsList(self, request, context):
313
- """Missing associated documentation comment in .proto file."""
314
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
315
- context.set_details('Method not implemented!')
316
- raise NotImplementedError('Method not implemented!')
317
-
318
- def GetTabulationID(self, request, context):
319
- """Missing associated documentation comment in .proto file."""
320
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
321
- context.set_details('Method not implemented!')
322
- raise NotImplementedError('Method not implemented!')
323
-
324
- def GetTabulationsList(self, request, context):
325
- """Missing associated documentation comment in .proto file."""
326
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
327
- context.set_details('Method not implemented!')
328
- raise NotImplementedError('Method not implemented!')
329
-
330
-
331
- def add_ActionsServiceServicer_to_server(servicer, server):
332
- rpc_method_handlers = {
333
- 'GetCampaignID': grpc.unary_unary_rpc_method_handler(
334
- servicer.GetCampaignID,
335
- request_deserializer=voll__pb2.CampaignName.FromString,
336
- response_serializer=voll__pb2.CampaignDetails.SerializeToString,
337
- ),
338
- 'GetCampaignsList': grpc.unary_unary_rpc_method_handler(
339
- servicer.GetCampaignsList,
340
- request_deserializer=voll__pb2.Void.FromString,
341
- response_serializer=voll__pb2.CampaignsList.SerializeToString,
342
- ),
343
- 'GetTabulationID': grpc.unary_unary_rpc_method_handler(
344
- servicer.GetTabulationID,
345
- request_deserializer=voll__pb2.TabulationName.FromString,
346
- response_serializer=voll__pb2.TabulationDetails.SerializeToString,
347
- ),
348
- 'GetTabulationsList': grpc.unary_unary_rpc_method_handler(
349
- servicer.GetTabulationsList,
350
- request_deserializer=voll__pb2.Void.FromString,
351
- response_serializer=voll__pb2.TabulationsList.SerializeToString,
352
- ),
353
- }
354
- generic_handler = grpc.method_handlers_generic_handler(
355
- 'messagevoll.ActionsService', rpc_method_handlers)
356
- server.add_generic_rpc_handlers((generic_handler,))
357
- server.add_registered_method_handlers('messagevoll.ActionsService', rpc_method_handlers)
358
-
359
-
360
- # This class is part of an EXPERIMENTAL API.
361
- class ActionsService(object):
362
- """Missing associated documentation comment in .proto file."""
363
-
364
- @staticmethod
365
- def GetCampaignID(request,
366
- target,
367
- options=(),
368
- channel_credentials=None,
369
- call_credentials=None,
370
- insecure=False,
371
- compression=None,
372
- wait_for_ready=None,
373
- timeout=None,
374
- metadata=None):
375
- return grpc.experimental.unary_unary(
376
- request,
377
- target,
378
- '/messagevoll.ActionsService/GetCampaignID',
379
- voll__pb2.CampaignName.SerializeToString,
380
- voll__pb2.CampaignDetails.FromString,
381
- options,
382
- channel_credentials,
383
- insecure,
384
- call_credentials,
385
- compression,
386
- wait_for_ready,
387
- timeout,
388
- metadata,
389
- _registered_method=True)
390
-
391
- @staticmethod
392
- def GetCampaignsList(request,
393
- target,
394
- options=(),
395
- channel_credentials=None,
396
- call_credentials=None,
397
- insecure=False,
398
- compression=None,
399
- wait_for_ready=None,
400
- timeout=None,
401
- metadata=None):
402
- return grpc.experimental.unary_unary(
403
- request,
404
- target,
405
- '/messagevoll.ActionsService/GetCampaignsList',
406
- voll__pb2.Void.SerializeToString,
407
- voll__pb2.CampaignsList.FromString,
408
- options,
409
- channel_credentials,
410
- insecure,
411
- call_credentials,
412
- compression,
413
- wait_for_ready,
414
- timeout,
415
- metadata,
416
- _registered_method=True)
417
-
418
- @staticmethod
419
- def GetTabulationID(request,
420
- target,
421
- options=(),
422
- channel_credentials=None,
423
- call_credentials=None,
424
- insecure=False,
425
- compression=None,
426
- wait_for_ready=None,
427
- timeout=None,
428
- metadata=None):
429
- return grpc.experimental.unary_unary(
430
- request,
431
- target,
432
- '/messagevoll.ActionsService/GetTabulationID',
433
- voll__pb2.TabulationName.SerializeToString,
434
- voll__pb2.TabulationDetails.FromString,
435
- options,
436
- channel_credentials,
437
- insecure,
438
- call_credentials,
439
- compression,
440
- wait_for_ready,
441
- timeout,
442
- metadata,
443
- _registered_method=True)
444
-
445
- @staticmethod
446
- def GetTabulationsList(request,
447
- target,
448
- options=(),
449
- channel_credentials=None,
450
- call_credentials=None,
451
- insecure=False,
452
- compression=None,
453
- wait_for_ready=None,
454
- timeout=None,
455
- metadata=None):
456
- return grpc.experimental.unary_unary(
457
- request,
458
- target,
459
- '/messagevoll.ActionsService/GetTabulationsList',
460
- voll__pb2.Void.SerializeToString,
461
- voll__pb2.TabulationsList.FromString,
462
- options,
463
- channel_credentials,
464
- insecure,
465
- call_credentials,
466
- compression,
467
- wait_for_ready,
468
- timeout,
469
- metadata,
470
- _registered_method=True)
@@ -1,24 +0,0 @@
1
- chatgraph/__init__.py,sha256=lUMcFMSxKQeHVFq7CyZV2r_UOHAtGGpeXtac0RUd7po,718
2
- chatgraph/auth/credentials.py,sha256=xsMEpLQnc66novPjL6upocMcnUnvFJ7yxINzUenkxmc,2388
3
- chatgraph/bot/chatbot_model.py,sha256=8KvMDst5ZZDs4l3zw2AeuyBM74UqyPFznHe-Ajbb8Yw,6834
4
- chatgraph/bot/chatbot_router.py,sha256=bVbm9dBoC2OesetXlQJpCrkaiLM3GUro0GrOyCSgreI,2586
5
- chatgraph/cli/__init__.py,sha256=tfgYhGoKy1nD4STN4xDh6J4VV55RICk7v1GZmzAg-bM,7413
6
- chatgraph/error/chatbot_error.py,sha256=4sEcW8vz0eQk2QDmDygucVM4caHliZW5iH7XJvmLBuk,1897
7
- chatgraph/error/route_error.py,sha256=CY8m82ap7-Sr-DXPsolltRW50TqD__5RyXBmNNJCWr8,793
8
- chatgraph/gRPC/gRPCCall.py,sha256=jYZg7CvtKWhtv2sQMrSunSmvnnL83MKmNVO8GWmGZ9U,7696
9
- chatgraph/messages/message_consumer.py,sha256=B6ettgby39r1pUw6KyiUlpzXPy5nhFAJiye54Lckoqs,9054
10
- chatgraph/pb/userstate.proto,sha256=GgjD1K2t8VxrMLkceVnY043xBdXWTPxBzaBhAbAg7yw,859
11
- chatgraph/pb/userstate_pb2.py,sha256=aCS_Muk_uA78buV28g7yi0O2vriTJedT4HKxgzFFUVw,2856
12
- chatgraph/pb/userstate_pb2_grpc.py,sha256=QJEGEmdBL6bkxrTI-gNhGbZpPUFuP5jm7eFu8y21PMI,10340
13
- chatgraph/pb/voll.proto,sha256=cI9YEy0RCc9FWZwAntoDQQzFBGO3zOM72hbtTkiPiZg,2031
14
- chatgraph/pb/voll_pb2.py,sha256=WLwE7F1pe_elcnwRnSFqVDcFihLZ3JBq4ScTHNCqWGA,5328
15
- chatgraph/pb/voll_pb2_grpc.py,sha256=U-_nXTAIEzo2GMYjHiphbSyTx3zyipsnKebFuZuoU1k,17685
16
- chatgraph/types/end_types.py,sha256=--Ty2gM_y7J-yRAvZV26e4HMUpoguAMAhfOIS9-kQTk,1316
17
- chatgraph/types/message_types.py,sha256=l488K4sVhTdOY5bbk47Y-qjfvfyn4h7bpmOFf2xGods,3334
18
- chatgraph/types/request_types.py,sha256=J3bTgudLY0ewKhji3sToMQRTGIsEPk5XRbe6NcTc6gg,12291
19
- chatgraph/types/route.py,sha256=FO5INy5UXgicuQ8FKEZKcPv6WS5YH10dPx2OaPu_0sE,2978
20
- chatgraph-0.4.2.dist-info/entry_points.txt,sha256=bO9_Q-PqE5vCNNo6ke_-3j2gHfKQMDGnKDTkNuCdBuA,48
21
- chatgraph-0.4.2.dist-info/LICENSE,sha256=rVJozpRzDlplOpvI8A1GvmfVS0ReYdZvMWc1j2jV0v8,1090
22
- chatgraph-0.4.2.dist-info/METADATA,sha256=ACCP5357txccMaenm4e5VV8uWScCjk7sV466pTFxVO8,12866
23
- chatgraph-0.4.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
24
- chatgraph-0.4.2.dist-info/RECORD,,