terrakio-core 0.5.1__py3-none-any.whl → 0.5.2__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.

Potentially problematic release.


This version of terrakio-core might be problematic. Click here for more details.

terrakio_core/__init__.py CHANGED
@@ -8,7 +8,7 @@ Core components for Terrakio API clients.
8
8
  # Suppress ONNX Runtime GPU device discovery warnings - MUST BE FIRST!
9
9
  import os
10
10
  os.environ['ORT_LOGGING_LEVEL'] = '3'
11
- __version__ = "0.5.1"
11
+ __version__ = "0.5.2"
12
12
 
13
13
  from .async_client import AsyncClient
14
14
  from .sync_client import SyncClient as Client
@@ -54,7 +54,6 @@ class AsyncClient(BaseClient):
54
54
  for attempt in range(self.retry + 1):
55
55
  try:
56
56
  async with session.request(method, url, **kwargs) as response:
57
- content = await response.text()
58
57
 
59
58
  if not response.ok and self._should_retry(response.status, attempt):
60
59
  self.logger.info(f"Request failed (attempt {attempt+1}/{self.retry+1}): {response.status}. Retrying...")
@@ -183,7 +182,7 @@ class AsyncClient(BaseClient):
183
182
  "validated": validated,
184
183
  **kwargs
185
184
  }
186
- result = await self._terrakio_request("POST", "geoquery", json=payload)
185
+ result, status_code = await self._terrakio_request("POST", "geoquery", json=payload)
187
186
 
188
187
  return result
189
188
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: terrakio-core
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Core package for the terrakio-python-api
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: aiofiles>=24.1.0
@@ -1,6 +1,6 @@
1
- terrakio_core/__init__.py,sha256=qD9OAwIU1zNjl4tLvOoHW8ifquSiWQzLxeRiB9M-0mM,391
1
+ terrakio_core/__init__.py,sha256=THWX-FgqNLs5c2lMuopvnLtQFtmENqc_Xsbad5nIUMQ,391
2
2
  terrakio_core/accessors.py,sha256=UZIi9y4RpBxouSmKuwuNYLIYqDxD8BH-GnUzwJuc1JI,47570
3
- terrakio_core/async_client.py,sha256=aCLjiAmhRS20efrA11hhGUbtwsxapIBp4hBAwG79K6Y,9766
3
+ terrakio_core/async_client.py,sha256=cJmgihx4rMtjqnd229tLT1pfq0sCpP8EjZnKhdRJ6CU,9727
4
4
  terrakio_core/client.py,sha256=VXP7BtJWIfpPPZR7_yNdSTcGwNgTwhb7KorusqkQrzk,5603
5
5
  terrakio_core/config.py,sha256=Zja4F1r8PjmeH4poBnRR8SHKmzZRfGPsLWHBHugVMvc,2695
6
6
  terrakio_core/exceptions.py,sha256=uKUwqTmR6Via6D5ji1g-YkH4_7p0hxAITS7DaJUZ8tw,14421
@@ -18,6 +18,6 @@ terrakio_core/endpoints/user_management.py,sha256=L_g4ysrh2xyz_JbObUU_tCxgHxisrD
18
18
  terrakio_core/helper/bounded_taskgroup.py,sha256=wiTH10jhKZgrsgrFUNG6gig8bFkUEPHkGRT2XY7Rgmo,677
19
19
  terrakio_core/helper/decorators.py,sha256=L6om7wmWNgCei3Wy5U0aZ-70OzsCwclkjIf7SfQuhCg,2289
20
20
  terrakio_core/helper/tiles.py,sha256=lcLCO6KiP05lCI9vngo3zCZJ6Z9C0pUxHSQS4H58EHc,2699
21
- terrakio_core-0.5.1.dist-info/METADATA,sha256=BN9srGf8MFyrJs-JW57Ikpckr417r73ZtkGhypIDFGw,1179
22
- terrakio_core-0.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- terrakio_core-0.5.1.dist-info/RECORD,,
21
+ terrakio_core-0.5.2.dist-info/METADATA,sha256=EwBaE33mW_3URPzT5tFKKGfqTqSU7RQHJ_IAERqTEFA,1179
22
+ terrakio_core-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ terrakio_core-0.5.2.dist-info/RECORD,,