ionworks-api 0.1.2__tar.gz → 0.1.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ionworks-api
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python client for interacting with the Ionworks API
5
5
  License-File: LICENSE.md
6
6
  Requires-Python: >=3.10
@@ -8,7 +8,7 @@ Requires-Dist: black
8
8
  Requires-Dist: iwutil
9
9
  Requires-Dist: numpy
10
10
  Requires-Dist: pandas
11
- Requires-Dist: polars
11
+ Requires-Dist: polars-lts-cpu
12
12
  Requires-Dist: pyarrow
13
13
  Requires-Dist: pybamm>=25.10.0
14
14
  Requires-Dist: pydantic>=2.6.0
@@ -341,7 +341,10 @@ class SimulationClient:
341
341
  continue
342
342
  try:
343
343
  simulation = self.get(sim_id)
344
- if simulation.get("simulation_data") is not None:
344
+ if (
345
+ simulation.get("storage_folder")
346
+ or simulation.get("simulation_data") # Legacy fallback
347
+ ):
345
348
  completed[sim_id] = simulation
346
349
  except (IonworksError, requests.exceptions.RequestException):
347
350
  pass # Continue polling on transient errors
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "ionworks-api"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Python client for interacting with the Ionworks API"
9
9
  authors = []
10
10
  readme = "README.md"
@@ -15,7 +15,7 @@ dependencies = [
15
15
  "types-requests>=2.31.0", # For type checking
16
16
  "pydantic>=2.6.0",
17
17
  "pandas",
18
- "polars",
18
+ "polars-lts-cpu",
19
19
  "numpy",
20
20
  "supabase",
21
21
  "iwutil",
@@ -26,11 +26,7 @@ dependencies = [
26
26
 
27
27
  [project.optional-dependencies]
28
28
  dev = ["pytest>=7.0.0"]
29
- docs = [
30
- "sphinx>=7.0.0",
31
- "furo",
32
- "myst-nb>=1.0.0",
33
- ]
29
+ docs = ["sphinx>=7.0.0", "furo", "myst-nb>=1.0.0"]
34
30
 
35
31
  [tool.hatch.build.targets.wheel]
36
32
  packages = ["ionworks"]
File without changes
File without changes
File without changes