File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def SetFloatingClientMetadata(key, value):
103103
104104 @staticmethod
105105 def GetFloatingClientLibraryVersion ():
106- """Gets floating client library version.
106+ """Gets the floating client library version.
107107
108108 Raises:
109109 LexFloatClientException
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ def licence_callback_fn(status):
1818def main ():
1919 try :
2020 # Set the product id
21- LexFloatClient .SetHostProductId ("PASTE_PRODUCT_ID " )
21+ LexFloatClient .SetHostProductId ("de5c962f-75b0-417d-a72a-5b474b8cb4bb " )
2222 # Set the float server
2323 LexFloatClient .SetHostUrl ("http://localhost:8090" )
2424 # Set the license callback
2525 LexFloatClient .SetFloatingLicenseCallback (licence_callback_fn )
2626 # Request license lease
2727 LexFloatClient .RequestFloatingLicense ()
28+ print ("honfig" ,LexFloatClient .GetHostConfig ().max_offline_lease_duration )
2829 print ("Success! License acquired. Press enter to get the license metadata..." )
2930 sys .stdin .read (1 )
3031 # Request license metadata
You can’t perform that action at this time.
0 commit comments