deltachat-rpc-client 1.159.1__py3-none-any.whl → 1.159.3__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.
- deltachat_rpc_client/account.py +8 -2
- deltachat_rpc_client/pytestplugin.py +1 -1
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/METADATA +1 -1
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/RECORD +8 -8
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/WHEEL +1 -1
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/entry_points.txt +0 -0
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/licenses/LICENSE +0 -0
- {deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/top_level.txt +0 -0
deltachat_rpc_client/account.py
CHANGED
|
@@ -111,9 +111,15 @@ class Account:
|
|
|
111
111
|
yield self._rpc.configure.future(self.id)
|
|
112
112
|
|
|
113
113
|
@futuremethod
|
|
114
|
-
def
|
|
114
|
+
def add_or_update_transport(self, params):
|
|
115
115
|
"""Add a new transport."""
|
|
116
|
-
yield self._rpc.
|
|
116
|
+
yield self._rpc.add_or_update_transport.future(self.id, params)
|
|
117
|
+
|
|
118
|
+
@futuremethod
|
|
119
|
+
def list_transports(self):
|
|
120
|
+
"""Returns the list of all email accounts that are used as a transport in the current profile."""
|
|
121
|
+
transports = yield self._rpc.list_transports.future(self.id)
|
|
122
|
+
return transports
|
|
117
123
|
|
|
118
124
|
def bring_online(self):
|
|
119
125
|
"""Start I/O and wait until IMAP becomes IDLE."""
|
|
@@ -34,7 +34,7 @@ class ACFactory:
|
|
|
34
34
|
addr, password = self.get_credentials()
|
|
35
35
|
account = self.get_unconfigured_account()
|
|
36
36
|
params = {"addr": addr, "password": password}
|
|
37
|
-
yield account.
|
|
37
|
+
yield account.add_or_update_transport.future(params)
|
|
38
38
|
|
|
39
39
|
assert account.is_configured()
|
|
40
40
|
return account
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
deltachat_rpc_client/__init__.py,sha256=L19BWnRu9TMF--jQ7e5Asgme951WGsldrTknW86KyTg,566
|
|
2
2
|
deltachat_rpc_client/_utils.py,sha256=FnmjEIU3pvr3y9jqFAvil8GUHzXNm2dDVNxsIJTZEMI,6393
|
|
3
|
-
deltachat_rpc_client/account.py,sha256=
|
|
3
|
+
deltachat_rpc_client/account.py,sha256=qPIPYPHN8nNR8ZUi0joMHxdYY6IvWxxA1uT_T7pSG9Y,16222
|
|
4
4
|
deltachat_rpc_client/chat.py,sha256=1pbuEBWBjZDD9qQ3U1hY5jozzx0MSs9Ybpw33reA2MU,11208
|
|
5
5
|
deltachat_rpc_client/client.py,sha256=yyXt2USkBeTsqNxtXZNNUqdsPVkqEUHYf7C-5JFmX7s,7043
|
|
6
6
|
deltachat_rpc_client/const.py,sha256=39o1czdW4COf5qH60B7G_vPF3eyeC42tpgIKcejtK8Q,5610
|
|
@@ -9,11 +9,11 @@ deltachat_rpc_client/deltachat.py,sha256=c22_2GX71we6JwQ4yjP-S89mrUYPPbEb3rrPwHH
|
|
|
9
9
|
deltachat_rpc_client/events.py,sha256=qYgydsbuWYxQ1PO5ms-D8I5aHpTIiQ6Fg9p23QTvqf0,9877
|
|
10
10
|
deltachat_rpc_client/message.py,sha256=6Jf2WlOp8HOYpjPLXXa_5_rGTg6wVN27PXnF3XIjpGQ,3156
|
|
11
11
|
deltachat_rpc_client/py.typed,sha256=nGQ9Itq-bkXBn5Ri1JIR0oYnDNv7LDRfkowxBSSqVTM,60
|
|
12
|
-
deltachat_rpc_client/pytestplugin.py,sha256=
|
|
12
|
+
deltachat_rpc_client/pytestplugin.py,sha256=Hqzx1nBryhzUV_yMR9BDnrqLrskvSd8MJ5Ap8BRUAFE,4874
|
|
13
13
|
deltachat_rpc_client/rpc.py,sha256=7RIdyEDwOXU0ACU0LanVqTT1RuIDci5iDr7dNEDE_tE,6554
|
|
14
|
-
deltachat_rpc_client-1.159.
|
|
15
|
-
deltachat_rpc_client-1.159.
|
|
16
|
-
deltachat_rpc_client-1.159.
|
|
17
|
-
deltachat_rpc_client-1.159.
|
|
18
|
-
deltachat_rpc_client-1.159.
|
|
19
|
-
deltachat_rpc_client-1.159.
|
|
14
|
+
deltachat_rpc_client-1.159.3.dist-info/licenses/LICENSE,sha256=Pz2eACSxkhsGfW9_iN60pgy-enjnbGTj8df8O3ebnQQ,16726
|
|
15
|
+
deltachat_rpc_client-1.159.3.dist-info/METADATA,sha256=O8crLgUozS793i6ApnpuXdYCsoE0eShZ-sdDXMgN4x8,2175
|
|
16
|
+
deltachat_rpc_client-1.159.3.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
17
|
+
deltachat_rpc_client-1.159.3.dist-info/entry_points.txt,sha256=VHpX6EnKBaNj89qJWctApThnMa8suyaamfZEnQacXgc,81
|
|
18
|
+
deltachat_rpc_client-1.159.3.dist-info/top_level.txt,sha256=ePNMkY10htGrLiLydH1ITvYFM3LcTEa51HyPqJ40hDk,21
|
|
19
|
+
deltachat_rpc_client-1.159.3.dist-info/RECORD,,
|
{deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{deltachat_rpc_client-1.159.1.dist-info → deltachat_rpc_client-1.159.3.dist-info}/top_level.txt
RENAMED
|
File without changes
|