pylantir 0.2.2__tar.gz → 0.2.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: pylantir
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Python - DICOM Modality WorkList with Optional API
5
5
  Author-email: Milton Camacho <miltoncamachoicc@gmail.com>
6
6
  Requires-Python: >=3.11.1
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "pylantir"
7
- version = "0.2.2"
7
+ version = "0.2.3"
8
8
  authors = [
9
9
  {name = "Milton Camacho", email = "miltoncamachoicc@gmail.com"},
10
10
  ]
@@ -61,6 +61,9 @@ def fetch_redcap_entries(redcap_fields: list, interval: float) -> list:
61
61
 
62
62
  if records.empty:
63
63
  lgr.warning("No records retrieved from REDCap.")
64
+ # Explicitly clean up the empty DataFrame to release any allocated buffers
65
+ del records
66
+ gc.collect()
64
67
  return []
65
68
 
66
69
  filtered_records = []
File without changes
File without changes