chatgraph 0.3.15__py3-none-any.whl → 0.3.16__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.
- chatgraph/types/route.py +3 -3
- {chatgraph-0.3.15.dist-info → chatgraph-0.3.16.dist-info}/METADATA +1 -1
- {chatgraph-0.3.15.dist-info → chatgraph-0.3.16.dist-info}/RECORD +6 -6
- {chatgraph-0.3.15.dist-info → chatgraph-0.3.16.dist-info}/LICENSE +0 -0
- {chatgraph-0.3.15.dist-info → chatgraph-0.3.16.dist-info}/WHEEL +0 -0
- {chatgraph-0.3.15.dist-info → chatgraph-0.3.16.dist-info}/entry_points.txt +0 -0
chatgraph/types/route.py
CHANGED
|
@@ -24,13 +24,13 @@ class Route:
|
|
|
24
24
|
self.separator = separator
|
|
25
25
|
|
|
26
26
|
@property
|
|
27
|
-
def previous(self)->
|
|
27
|
+
def previous(self)->'Route':
|
|
28
28
|
"""
|
|
29
29
|
Retorna a rota anterior a atual do usuário
|
|
30
30
|
"""
|
|
31
31
|
return self.get_previous()
|
|
32
32
|
|
|
33
|
-
def get_previous(self) ->
|
|
33
|
+
def get_previous(self) -> 'Route':
|
|
34
34
|
"""
|
|
35
35
|
Retorna o caminho anterior ao caminho atual.
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ class Route:
|
|
|
44
44
|
raise RouteError('Não há caminho anterior ao start')
|
|
45
45
|
|
|
46
46
|
previous_route = self.separator.join(self.current.split(self.separator)[:-1])
|
|
47
|
-
return previous_route
|
|
47
|
+
return Route(previous_route, self.routes, self.separator)
|
|
48
48
|
|
|
49
49
|
def get_next(self, next_part: str) -> 'Route':
|
|
50
50
|
"""
|
|
@@ -16,9 +16,9 @@ chatgraph/pb/voll_pb2_grpc.py,sha256=U-_nXTAIEzo2GMYjHiphbSyTx3zyipsnKebFuZuoU1k
|
|
|
16
16
|
chatgraph/types/end_types.py,sha256=--Ty2gM_y7J-yRAvZV26e4HMUpoguAMAhfOIS9-kQTk,1316
|
|
17
17
|
chatgraph/types/message_types.py,sha256=l488K4sVhTdOY5bbk47Y-qjfvfyn4h7bpmOFf2xGods,3334
|
|
18
18
|
chatgraph/types/request_types.py,sha256=Rju__bOLI3AG-l5aYTNv_SwqH_-pu1tNiiHA9PujN_M,11761
|
|
19
|
-
chatgraph/types/route.py,sha256=
|
|
20
|
-
chatgraph-0.3.
|
|
21
|
-
chatgraph-0.3.
|
|
22
|
-
chatgraph-0.3.
|
|
23
|
-
chatgraph-0.3.
|
|
24
|
-
chatgraph-0.3.
|
|
19
|
+
chatgraph/types/route.py,sha256=sg0oAsfPlPciDsVa-GAr1AwwypH5EyUKqfo_IYMLOtU,2801
|
|
20
|
+
chatgraph-0.3.16.dist-info/entry_points.txt,sha256=bO9_Q-PqE5vCNNo6ke_-3j2gHfKQMDGnKDTkNuCdBuA,48
|
|
21
|
+
chatgraph-0.3.16.dist-info/LICENSE,sha256=rVJozpRzDlplOpvI8A1GvmfVS0ReYdZvMWc1j2jV0v8,1090
|
|
22
|
+
chatgraph-0.3.16.dist-info/METADATA,sha256=L9uQXpMFqD75L9xUHxTDxSCwZ15t0waU-rWY-g50Q08,12782
|
|
23
|
+
chatgraph-0.3.16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
24
|
+
chatgraph-0.3.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|