feldera 0.104.0__py3-none-any.whl → 0.106.0__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.

Potentially problematic release.


This version of feldera might be problematic. Click here for more details.

feldera/pipeline.py CHANGED
@@ -3,6 +3,7 @@ import time
3
3
  from datetime import datetime
4
4
 
5
5
  import pandas
6
+ from uuid import UUID
6
7
 
7
8
  from typing import List, Dict, Callable, Optional, Generator, Mapping, Any
8
9
  from collections import deque
@@ -620,7 +621,7 @@ pipeline '{self.name}' to sync checkpoint '{uuid}'"""
620
621
  time.sleep(0.1)
621
622
  continue
622
623
 
623
- return status
624
+ break
624
625
 
625
626
  return uuid
626
627
 
@@ -636,6 +637,8 @@ pipeline '{self.name}' to sync checkpoint '{uuid}'"""
636
637
  resp = self.client.sync_checkpoint_status(self.name)
637
638
  success = resp.get("success")
638
639
 
640
+ fail = resp.get("failure") or {}
641
+
639
642
  if uuid == success:
640
643
  return CheckpointStatus.Success
641
644
 
@@ -645,6 +648,9 @@ pipeline '{self.name}' to sync checkpoint '{uuid}'"""
645
648
  failure.error = fail.get("error", "")
646
649
  return failure
647
650
 
651
+ if (success is None) or UUID(uuid) > UUID(success):
652
+ return CheckpointStatus.InProgress
653
+
648
654
  return CheckpointStatus.Unknown
649
655
 
650
656
  def query(self, query: str) -> Generator[Mapping[str, Any], None, None]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: feldera
3
- Version: 0.104.0
3
+ Version: 0.106.0
4
4
  Summary: The feldera python client
5
5
  Author-email: Feldera Team <dev@feldera.com>
6
6
  License: MIT
@@ -3,7 +3,7 @@ feldera/_callback_runner.py,sha256=GNOg3TrKJg9zJU0HvpWxCHqzjMUX8ORiHhtiEEdVQzE,4
3
3
  feldera/_helpers.py,sha256=rN0WuGSCCQlXWFMimZUQrgs-LJAfUo074d79sLElncQ,3023
4
4
  feldera/enums.py,sha256=MTHBojVANsdRnjbrzCyIOniDIUaH8nTYRfxB7QvajEE,9570
5
5
  feldera/output_handler.py,sha256=64J3ljhOaKIhxdjOKYi-BUz_HnMwROfmN8eE-btYygU,1930
6
- feldera/pipeline.py,sha256=edNcJ28PnVPabCALSwg_30-IVrCR42zqPj8QPJn0JZI,34287
6
+ feldera/pipeline.py,sha256=6v87x_knsTlCEkflc5M-toSpHdhNGAfKQROjyY5neWk,34451
7
7
  feldera/pipeline_builder.py,sha256=pK8t93PIyM3zHzVTNg2jAafI7g2ZThNQyZER-_6e3G0,4081
8
8
  feldera/runtime_config.py,sha256=rPO1abLSJmozR4z1QwI93kt1rZMkFq-CBdqqmpKCSMU,4369
9
9
  feldera/stats.py,sha256=XBhkRsV7FXErwWuPP0i3q9W77mzkMo-oThPVEZy5y3U,5028
@@ -17,7 +17,7 @@ feldera/rest/feldera_config.py,sha256=1pnGbLFMSLvp7Qh_OlPLALSKCSHIktNWKvx6gYU00U
17
17
  feldera/rest/pipeline.py,sha256=-dGGUdtHMABKrQEclaeuwGI_FOCrQOk6p2aCFV0FdU8,2890
18
18
  feldera/rest/sql_table.py,sha256=qrw-YwMzx5T81zDefNO1KOx7EyypFz1vPwGBzSUB7kc,652
19
19
  feldera/rest/sql_view.py,sha256=hN12mPM0mvwLCIPYywpb12s9Hd2Ws31IlTMXPriMisw,644
20
- feldera-0.104.0.dist-info/METADATA,sha256=gYLjwBkk8xCrqJHi6ujfc84IT3awMJ0EQm3_7GYaAwg,4101
21
- feldera-0.104.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- feldera-0.104.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
23
- feldera-0.104.0.dist-info/RECORD,,
20
+ feldera-0.106.0.dist-info/METADATA,sha256=xsJIbSFtjq7iqCTbot0mSkkzYs0KRjRe11Qm4VqktPo,4101
21
+ feldera-0.106.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ feldera-0.106.0.dist-info/top_level.txt,sha256=fB6yTqrQiO6RCbY1xP2T_mpPoTjDFtJvkJJodiee7d0,8
23
+ feldera-0.106.0.dist-info/RECORD,,