jsonjsdb 0.7.1__tar.gz → 0.7.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jsonjsdb
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: Python library for JSONJS database loading
5
5
  Project-URL: Homepage, https://github.com/datannur/jsonjsdb
6
6
  Project-URL: Repository, https://github.com/datannur/jsonjsdb
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "jsonjsdb"
7
- version = "0.7.1"
7
+ version = "0.7.2"
8
8
  description = "Python library for JSONJS database loading"
9
9
  authors = [{ name = "datannur" }]
10
10
  readme = "README.md"
@@ -126,9 +126,12 @@ def compare_datasets(
126
126
  if entity.startswith("__"):
127
127
  return entries
128
128
 
129
- if old_df.is_empty() and new_df.is_empty():
129
+ # Skip tracking for initial creation (no previous data)
130
+ if old_df.is_empty():
130
131
  return entries
131
132
 
133
+ # Normalize IDs for consistent comparison
134
+
132
135
  # Normalize id columns to string for consistent comparison
133
136
  old_df = _normalize_id_column(old_df)
134
137
  new_df = _normalize_id_column(new_df)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes