llumo 0.2.9__py3-none-any.whl → 0.2.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
llumo/client.py CHANGED
@@ -41,7 +41,7 @@ class LlumoClient:
41
41
  try:
42
42
  response = requests.post(url=validateUrl, json=reqBody, headers=headers)
43
43
 
44
- print("Response: ",response.json())
44
+
45
45
  try:
46
46
  response_preview = response.text[:500] # First 500 chars
47
47
  # print(f"Response preview: {response_preview}")
@@ -79,14 +79,14 @@ class LlumoClient:
79
79
  raise LlumoAIError.InvalidApiResponse()
80
80
 
81
81
  try:
82
- self.hitsAvailable = data["data"].get("remainingHits", 0)
83
- self.workspaceID = data["data"].get("workspaceID")
84
- self.evalDefinition = data["data"].get("analyticsMapping")
85
- self.socketToken = data["data"].get("token")
86
- self.hasSubscribed = data["data"].get("hasSubscribed", False)
87
- self.trialEndDate = data["data"].get("trialEndDate", None)
88
- self.subscriptionEndDate = data["data"].get("subscriptionEndDate", None)
89
- self.email = data["data"].get("email", None)
82
+ self.hitsAvailable = data["data"]["data"].get("remainingHits", 0)
83
+ self.workspaceID = data["data"]["data"].get("workspaceID")
84
+ self.evalDefinition = data["data"]["data"].get("analyticsMapping")
85
+ self.socketToken = data["data"]["data"].get("token")
86
+ self.hasSubscribed = data["data"]["data"].get("hasSubscribed", False)
87
+ self.trialEndDate = data["data"]["data"].get("trialEndDate", None)
88
+ self.subscriptionEndDate = data["data"]["data"].get("subscriptionEndDate", None)
89
+ self.email = data["data"]["data"].get("email", None)
90
90
 
91
91
  except Exception as e:
92
92
  # print(f"Error extracting data from response: {str(e)}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: llumo
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: Python SDK for interacting with the Llumo ai API.
5
5
  Home-page: https://www.llumo.ai/
6
6
  Author: Llumo
@@ -1,13 +1,13 @@
1
1
  llumo/__init__.py,sha256=O04b4yW1BnOvcHzxWFddAKhtdBEhBNhLdb6xgnpHH_Q,205
2
- llumo/client.py,sha256=mUFwKeORMTdGUjrEcShQs3ysMwbwW9_E82IeDt-CyH0,35605
2
+ llumo/client.py,sha256=_TpTvzt5ox5MUCZ5O07AY6DYrtIhtezEDAE6nG7nUjs,35632
3
3
  llumo/exceptions.py,sha256=iCj7HhtO_ckC2EaVBdXbAudNpuMDsYmmMEV5lwynZ-E,1854
4
4
  llumo/execution.py,sha256=x88wQV8eL99wNN5YtjFaAMCIfN1PdfQVlAZQb4vzgQ0,1413
5
5
  llumo/functionCalling.py,sha256=D5jYapu1rIvdIJNUYPYMTyhQ1H-6nkwoOLMi6eekfUE,7241
6
6
  llumo/helpingFuntions.py,sha256=lG_d3lQgJj6pI7v1YdLqdPojrLCNwybKz29zXrGaL5k,9090
7
7
  llumo/models.py,sha256=YH-qAMnShmUpmKE2LQAzQdpRsaXkFSlOqMxHwU4zBUI,1560
8
8
  llumo/sockets.py,sha256=Qxxqtx3Hg07HLhA4QfcipK1ChiOYhHZBu02iA6MfYlQ,5579
9
- llumo-0.2.9.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
10
- llumo-0.2.9.dist-info/METADATA,sha256=7y_5Vv87m67RRgu-xqWuuDjkd32WqF0RxQsAdun4he8,1490
11
- llumo-0.2.9.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
12
- llumo-0.2.9.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
13
- llumo-0.2.9.dist-info/RECORD,,
9
+ llumo-0.2.11.dist-info/licenses/LICENSE,sha256=tF9yAcfPV9xGT3ViWmC8hPvOo8BEk4ZICbUfcEo8Dlk,182
10
+ llumo-0.2.11.dist-info/METADATA,sha256=ymWr0L9PnYitu0FnBAZ2NsJnlOxhcsUoUVA8Yn-DXoQ,1491
11
+ llumo-0.2.11.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
12
+ llumo-0.2.11.dist-info/top_level.txt,sha256=d5zUTMI99llPtLRB8rtSrqELm_bOqX-bNC5IcwlDk88,6
13
+ llumo-0.2.11.dist-info/RECORD,,
File without changes