pyconvexity 0.1.1__tar.gz → 0.1.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.
Potentially problematic release.
This version of pyconvexity might be problematic. Click here for more details.
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/PKG-INFO +1 -1
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/pyproject.toml +1 -1
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/_version.py +1 -1
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/models/attributes.py +3 -1
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity.egg-info/PKG-INFO +1 -1
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/README.md +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/setup.cfg +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/__init__.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/core/__init__.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/core/database.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/core/errors.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/core/types.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/data/schema/01_core_schema.sql +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/data/schema/02_data_metadata.sql +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/data/schema/03_validation_data.sql +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/data/schema/04_scenario_schema.sql +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/models/__init__.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/models/components.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/models/network.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/validation/__init__.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity/validation/rules.py +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity.egg-info/SOURCES.txt +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity.egg-info/dependency_links.txt +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity.egg-info/requires.txt +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/src/pyconvexity.egg-info/top_level.txt +0 -0
- {pyconvexity-0.1.1 → pyconvexity-0.1.2}/tests/test_core_types.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# This file is automatically updated by GitHub Actions during release
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.2" # Default version for local development
|
|
@@ -334,7 +334,9 @@ def serialize_timeseries_to_parquet(timeseries: List[TimeseriesPoint]) -> bytes:
|
|
|
334
334
|
|
|
335
335
|
if not timeseries:
|
|
336
336
|
# Return empty parquet file with correct schema
|
|
337
|
-
|
|
337
|
+
empty_period_array = pa.array([], type=pa.int32())
|
|
338
|
+
empty_value_array = pa.array([], type=pa.float64())
|
|
339
|
+
table = pa.table([empty_period_array, empty_value_array], schema=schema)
|
|
338
340
|
else:
|
|
339
341
|
# Create PyArrow table with EXPLICIT schema to ensure data types match Rust
|
|
340
342
|
period_indices = [p.period_index for p in timeseries]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|