sibi-dst 0.3.34__py3-none-any.whl → 0.3.35__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.
@@ -38,7 +38,9 @@ class ParquetSaver:
38
38
  schema = self._define_schema()
39
39
  self._convert_dtypes(schema)
40
40
  self._save_dataframe_to_parquet(full_path, schema)
41
- self.fs.close()
41
+ # Close the filesystem if the close method exists
42
+ if hasattr(self.fs, 'close') and callable(getattr(self.fs, 'close', None)):
43
+ self.fs.close()
42
44
 
43
45
  def _define_schema(self) -> pa.Schema:
44
46
  """Define a PyArrow schema dynamically based on df_result column types."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sibi-dst
3
- Version: 0.3.34
3
+ Version: 0.3.35
4
4
  Summary: Data Science Toolkit
5
5
  Author: Luis Valverde
6
6
  Author-email: lvalverdeb@gmail.com
@@ -48,8 +48,8 @@ sibi_dst/utils/df_utils.py,sha256=OFEtcwVKIilvf9qVf-IfIOHp4jcFAHX5l2IDGudhPZg,10
48
48
  sibi_dst/utils/file_utils.py,sha256=JpsybYj3XvVJisSBeVU6YSaZnYRm4_6YWTI3TLnnY4Y,1257
49
49
  sibi_dst/utils/filepath_generator.py,sha256=volVm0SSlBrtZp1RpTHxyui5rj5asNcVsWEBRY5FOUQ,6673
50
50
  sibi_dst/utils/log_utils.py,sha256=XUbeXa1JsOlcEJyW8jnBlWo295rLUnuYi-HMzyhHwJg,3145
51
- sibi_dst/utils/parquet_saver.py,sha256=FmSTOVhKruGw6r5G1sH3kKqsP0tCuU32KTlyQBLpXos,5092
51
+ sibi_dst/utils/parquet_saver.py,sha256=Wj3jDlAXHACma6ea1zfuH0I3AJS2OVuwBG3lY2yZ27k,5238
52
52
  sibi_dst/utils/storage_manager.py,sha256=qHo5vTv-dr1roRr_mOcprSTdlAfH4Q2Dy5tQUz06Pnk,4228
53
- sibi_dst-0.3.34.dist-info/METADATA,sha256=ewd8lmlRjJg0lEeEI0ju5g20zGk7Lk1bdgBxunNpf3s,2564
54
- sibi_dst-0.3.34.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
55
- sibi_dst-0.3.34.dist-info/RECORD,,
53
+ sibi_dst-0.3.35.dist-info/METADATA,sha256=emeZrFZZi6ixveE_vAwcb_ZD8AU24YnepxB6H1kMSb4,2564
54
+ sibi_dst-0.3.35.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
55
+ sibi_dst-0.3.35.dist-info/RECORD,,