moose-lib 0.4.217__py3-none-any.whl → 0.4.218__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.
moose_lib/dmv2.py CHANGED
@@ -543,6 +543,19 @@ class IngestPipeline(TypedMooseResource, Generic[T]):
543
543
  raise ValueError("Stream was not configured for this pipeline")
544
544
  return self.stream
545
545
 
546
+ def get_dead_letter_queue(self) -> Stream[T]:
547
+ """Retrieves the pipeline's dead letter queue.
548
+
549
+ Raises:
550
+ ValueError: If the dead letter queue was not configured for this pipeline.
551
+
552
+ Returns:
553
+ The `Stream` instance.
554
+ """
555
+ if self.dead_letter_queue is None:
556
+ raise ValueError("DLQ was not configured for this pipeline")
557
+ return self.dead_letter_queue
558
+
546
559
  def get_ingest_api(self) -> IngestApi[T]:
547
560
  """Retrieves the pipeline's Ingestion API component.
548
561
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moose_lib
3
- Version: 0.4.217
3
+ Version: 0.4.218
4
4
  Home-page: https://www.fiveonefour.com/moose
5
5
  Author: Fiveonefour Labs Inc.
6
6
  Author-email: support@fiveonefour.com
@@ -3,7 +3,7 @@ moose_lib/blocks.py,sha256=_wdvC2NC_Y3MMEnB71WTgWbeQ--zPNHk19xjToJW0C0,3185
3
3
  moose_lib/commons.py,sha256=BV5X78MuOWHiZV9bsWSN69JIvzTNWUi-gnuMiAtaO8A,2489
4
4
  moose_lib/data_models.py,sha256=hFXvIE2dQ88l4bC2yGNjdwLK8SWPL9_yUodcjMErym4,8911
5
5
  moose_lib/dmv2-serializer.py,sha256=CL_Pvvg8tJOT8Qk6hywDNzY8MYGhMVdTOw8arZi3jng,49
6
- moose_lib/dmv2.py,sha256=JFNRjTWUcuTw865Wy8E_UgjLeLZPWAU3m7Ec2rd3CKM,38404
6
+ moose_lib/dmv2.py,sha256=fbAto1ODTM6a-hfSGR1Z7EzeopoCAbP5dy73NFTVJKw,38833
7
7
  moose_lib/internal.py,sha256=8aEXQjB2DWz-dGUJ0ch8g5awHxELoZx1XYmlVXlhCWo,14193
8
8
  moose_lib/main.py,sha256=In-u7yA1FsLDeP_2bhIgBtHY_BkXaZqDwf7BxwyC21c,8471
9
9
  moose_lib/query_param.py,sha256=AB5BKu610Ji-h1iYGMBZKfnEFqt85rS94kzhDwhWJnc,6288
@@ -16,7 +16,7 @@ tests/__init__.py,sha256=0Gh4yzPkkC3TzBGKhenpMIxJcRhyrrCfxLSfpTZnPMQ,53
16
16
  tests/conftest.py,sha256=ZVJNbnr4DwbcqkTmePW6U01zAzE6QD0kNAEZjPG1f4s,169
17
17
  tests/test_moose.py,sha256=mBsx_OYWmL8ppDzL_7Bd7xR6qf_i3-pCIO3wm2iQNaA,2136
18
18
  tests/test_redis_client.py,sha256=d9_MLYsJ4ecVil_jPB2gW3Q5aWnavxmmjZg2uYI3LVo,3256
19
- moose_lib-0.4.217.dist-info/METADATA,sha256=kwJgdEu1vpkf5Ll1uidC9WA-6EWPIl2bYCHZm04HqSw,638
20
- moose_lib-0.4.217.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- moose_lib-0.4.217.dist-info/top_level.txt,sha256=XEns2-4aCmGp2XjJAeEH9TAUcGONLnSLy6ycT9FSJh8,16
22
- moose_lib-0.4.217.dist-info/RECORD,,
19
+ moose_lib-0.4.218.dist-info/METADATA,sha256=N6gOvlVG4zre1tBIEXcGaQyLHZF91wozpvAZ8swGV-8,638
20
+ moose_lib-0.4.218.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ moose_lib-0.4.218.dist-info/top_level.txt,sha256=XEns2-4aCmGp2XjJAeEH9TAUcGONLnSLy6ycT9FSJh8,16
22
+ moose_lib-0.4.218.dist-info/RECORD,,