orb-cloud-client 1.3.0__tar.gz → 1.3.2__tar.gz

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.
Files changed (21) hide show
  1. {orb_cloud_client-1.3.0/orb_cloud_client.egg-info → orb_cloud_client-1.3.2}/PKG-INFO +1 -1
  2. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/__init__.py +1 -1
  3. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/client.py +2 -2
  4. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/models/__init__.py +1 -1
  5. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/models/config.py +1 -1
  6. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/models/db.py +1 -1
  7. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/models/server.py +1 -1
  8. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2/orb_cloud_client.egg-info}/PKG-INFO +1 -1
  9. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/pyproject.toml +1 -1
  10. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/LICENSE +0 -0
  11. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/MANIFEST.in +0 -0
  12. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/README.md +0 -0
  13. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/example.py +0 -0
  14. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/example_async.py +0 -0
  15. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client/models/generic.py +0 -0
  16. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client.egg-info/SOURCES.txt +0 -0
  17. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client.egg-info/dependency_links.txt +0 -0
  18. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client.egg-info/entry_points.txt +0 -0
  19. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client.egg-info/requires.txt +0 -0
  20. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/orb_cloud_client.egg-info/top_level.txt +0 -0
  21. {orb_cloud_client-1.3.0 → orb_cloud_client-1.3.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orb-cloud-client
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Python client library for Orb Cloud API
5
5
  Author-email: Orb Networks <support@orb.net>
6
6
  License-Expression: MIT
@@ -11,5 +11,5 @@ except ImportError:
11
11
  from orb_cloud_client.client import OrbCloudClient
12
12
  from orb_cloud_client.models import *
13
13
 
14
- __version__ = "1.0.0"
14
+ __version__ = "1.3.1"
15
15
  __all__ = ["OrbCloudClient"]
@@ -5,7 +5,7 @@ Simple HTTP client for Orb Cloud API.
5
5
  import httpx
6
6
  from typing import Dict, Any, Optional, List
7
7
 
8
- from models.generic import Device, TempDatasetsRequest, Organization
8
+ from .models.generic import Device, TempDatasetsRequest, Organization
9
9
 
10
10
  class OrbCloudClientBase(object):
11
11
  def __init__(self, base_url: str = "https://panel.orb.net", token: Optional[str] = None):
@@ -111,7 +111,7 @@ class OrbCloudClientAsync(OrbCloudClientBase):
111
111
 
112
112
  async def trigger_speedtest(self, device_id: str, test_type: str) -> Dict[str, Any]:
113
113
  """Trigger a content or top speedtest"""
114
- response = await self.client.post("f/api/v2/device/{orbID}/trigger-speedtest/{testType}")
114
+ response = await self.client.post(f"/api/v2/device/{device_id}/trigger-speedtest/{test_type}")
115
115
  return self._trigger_speedtest(response)
116
116
 
117
117
  async def request(self, method: str, endpoint: str, **kwargs) -> httpx.Response:
@@ -1,3 +1,3 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.yaml
3
- # timestamp: 2025-11-11T08:49:27+00:00
3
+ # timestamp: 2025-12-18T14:54:46+00:00
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.yaml
3
- # timestamp: 2025-11-11T08:49:27+00:00
3
+ # timestamp: 2025-12-18T14:54:46+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.yaml
3
- # timestamp: 2025-11-11T08:49:27+00:00
3
+ # timestamp: 2025-12-18T14:54:46+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.yaml
3
- # timestamp: 2025-11-11T08:49:27+00:00
3
+ # timestamp: 2025-12-18T14:54:46+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orb-cloud-client
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Python client library for Orb Cloud API
5
5
  Author-email: Orb Networks <support@orb.net>
6
6
  License-Expression: MIT
@@ -27,7 +27,7 @@ license = "MIT"
27
27
  name = "orb-cloud-client"
28
28
  readme = "README.md"
29
29
  requires-python = ">=3.8"
30
- version = "1.3.0"
30
+ version = "1.3.2"
31
31
 
32
32
  [project.optional-dependencies]
33
33
  dev = [