Skip to content

Commit 645282b

Browse files
committed
refactor: jsdoc
1 parent b9e508f commit 645282b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cryptlex/lexfloatclient/lexfloatclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

examples/sample.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ def licence_callback_fn(status):
1818
def 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

0 commit comments

Comments
 (0)