We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f471a7 commit a48ae8cCopy full SHA for a48ae8c
examples_python3/discard_sessions.py
@@ -25,6 +25,7 @@
25
def main():
26
# getting details from the user
27
api_server = input("Enter server IP address or hostname:")
28
+ port = input("Enter port(443 by default): ")
29
username = input("Enter username: ")
30
31
if sys.stdin.isatty():
@@ -33,7 +34,7 @@ def main():
33
34
print("Attention! Your password will be shown on the screen!")
35
password = input("Enter password: ")
36
- client_args = APIClientArgs(server=api_server)
37
+ client_args = APIClientArgs(server=api_server,port=port)
38
39
with APIClient(client_args) as client:
40
0 commit comments