We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 645282b commit 019af2bCopy full SHA for 019af2b
1 file changed
examples/sample.py
@@ -18,14 +18,13 @@ def licence_callback_fn(status):
18
def main():
19
try:
20
# Set the product id
21
- LexFloatClient.SetHostProductId("de5c962f-75b0-417d-a72a-5b474b8cb4bb")
+ LexFloatClient.SetHostProductId("PASTE_PRODUCT_ID")
22
# Set the float server
23
LexFloatClient.SetHostUrl("http://localhost:8090")
24
# Set the license callback
25
LexFloatClient.SetFloatingLicenseCallback(licence_callback_fn)
26
# Request license lease
27
LexFloatClient.RequestFloatingLicense()
28
- print("honfig",LexFloatClient.GetHostConfig().max_offline_lease_duration )
29
print("Success! License acquired. Press enter to get the license metadata...")
30
sys.stdin.read(1)
31
# Request license metadata
0 commit comments