You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,7 @@ async def main():
65
65
await memphis.connect(
66
66
host="<memphis-host>",
67
67
username="<application-type username>",
68
+
account_id="<account_id>", # You can find it on the profile page in the Memphis UI. This field should be sent only on the cloud version of Memphis, otherwise it will be ignored
68
69
connection_token="<broker-token>", # you will get it on application type user creation
69
70
password="<string>", # depends on how Memphis deployed - default is connection token-based authentication
Copy file name to clipboardExpand all lines: memphis/memphis.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ async def connect(
94
94
self,
95
95
host: str,
96
96
username: str,
97
+
account_id: int=1,
97
98
connection_token: str="",
98
99
password: str="",
99
100
port: int=6666,
@@ -109,6 +110,7 @@ async def connect(
109
110
Args:
110
111
host (str): memphis host.
111
112
username (str): user of type root/application.
113
+
account_id (int): You can find it on the profile page in the Memphis UI. This field should be sent only on the cloud version of Memphis, otherwise it will be ignored
112
114
connection_token (str): connection token.
113
115
password (str): depends on how Memphis deployed - default is connection token-based authentication.
0 commit comments