sibi-dst 2025.1.8__py3-none-any.whl → 2025.1.9__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.
@@ -72,9 +72,6 @@ class UpdatePlanner(ManagedResource):
72
72
  data_path: str,
73
73
  filename: str,
74
74
  description: str = "Update Planner",
75
- #fs: Optional[fsspec.AbstractFileSystem] = None,
76
- #filesystem_type: str = "file",
77
- #filesystem_options: Optional[Dict] = None,
78
75
  reference_date: Union[str, datetime.date] = None,
79
76
  history_days_threshold: int = DEFAULT_HISTORY_DAYS_THRESHOLD,
80
77
  max_age_minutes: int = DEFAULT_MAX_AGE_MINUTES,
@@ -199,11 +196,12 @@ class UpdatePlanner(ManagedResource):
199
196
  for _, row in self.plan.iterrows():
200
197
  table.add_row(*(str(item) for item in row))
201
198
 
202
- console.print(table)
199
+ console = Console()
200
+ with console.capture() as capture:
201
+ console.print(table)
202
+ plan_string = capture.get()
203
203
 
204
- plan_string = console.export_text()
205
-
206
- self.logger.info(f"Full Update Plan:\n{plan_string}")
204
+ self.logger.info(f"Full Update Plan:\n{plan_string.strip()}")
207
205
 
208
206
  def get_tasks_by_priority(self) -> Iterator[Tuple[int, List[datetime.date]]]:
209
207
  """Yields batches of dates to be processed, grouped and sorted by priority."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sibi-dst
3
- Version: 2025.1.8
3
+ Version: 2025.1.9
4
4
  Summary: Data Science Toolkit
5
5
  Author: Luis Valverde
6
6
  Author-email: lvalverdeb@gmail.com
@@ -49,7 +49,7 @@ sibi_dst/utils/parquet_saver.py,sha256=B1ztPZMJvsulbgXMBnJdSkPhLFvdv8sRnmyqjjBBR
49
49
  sibi_dst/utils/phone_formatter.py,sha256=tsVTDamuthFYgy4-5UwmQkPQ-FGTGH7MjZyH8utAkIY,4945
50
50
  sibi_dst/utils/storage_config.py,sha256=uaCBF8rgCeYkk-lxVSCjsic8O8HJKAu455MR-OBliCo,4325
51
51
  sibi_dst/utils/storage_manager.py,sha256=yyZqT8XjTf4MKFrfznCmxXxOYz_TiWgtQhzqPoXR9So,6569
52
- sibi_dst/utils/update_planner.py,sha256=UH14HVFUtvWtCY9jzmYbQbe7lUHRrpnNDn2h0JT7OvI,11584
52
+ sibi_dst/utils/update_planner.py,sha256=Z-v9PmHsolYFiELAqiw8OZ7v0dKWPfkaCs8uorn0Usw,11497
53
53
  sibi_dst/utils/webdav_client.py,sha256=pYF1UsGOuxYeGLq7aBfwZFvkvD4meOcbbaiZ4d6GW9I,7107
54
54
  sibi_dst/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  sibi_dst/v2/df_helper/__init__.py,sha256=XuH6jKYAPg2DdRbsxxBSxp9X3x-ARyaT0xe27uILrVo,99
@@ -71,6 +71,6 @@ sibi_dst/v2/df_helper/core/_params_config.py,sha256=DYx2drDz3uF-lSPzizPkchhy-kxR
71
71
  sibi_dst/v2/df_helper/core/_query_config.py,sha256=Y8LVSyaKuVkrPluRDkQoOwuXHQxner1pFWG3HPfnDHM,441
72
72
  sibi_dst/v2/utils/__init__.py,sha256=6H4cvhqTiFufnFPETBF0f8beVVMpfJfvUs6Ne0TQZNY,58
73
73
  sibi_dst/v2/utils/log_utils.py,sha256=rfk5VsLAt-FKpv6aPTC1FToIPiyrnHAFFBAkHme24po,4123
74
- sibi_dst-2025.1.8.dist-info/METADATA,sha256=DcMnd1S5S6CGThkl1-ebn4HWkmGC0ujPHZYHMPrJHd0,2610
75
- sibi_dst-2025.1.8.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
76
- sibi_dst-2025.1.8.dist-info/RECORD,,
74
+ sibi_dst-2025.1.9.dist-info/METADATA,sha256=aGk1rY4nTE2KjIYLgIobb0ER3DhtncHp_GTqlXxxizg,2610
75
+ sibi_dst-2025.1.9.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
76
+ sibi_dst-2025.1.9.dist-info/RECORD,,