moose-lib 0.4.217__tar.gz → 0.4.218__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.
Files changed (27) hide show
  1. {moose_lib-0.4.217 → moose_lib-0.4.218}/PKG-INFO +1 -1
  2. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/dmv2.py +13 -0
  3. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib.egg-info/PKG-INFO +1 -1
  4. {moose_lib-0.4.217 → moose_lib-0.4.218}/README.md +0 -0
  5. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/__init__.py +0 -0
  6. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/blocks.py +0 -0
  7. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/clients/__init__.py +0 -0
  8. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/clients/redis_client.py +0 -0
  9. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/commons.py +0 -0
  10. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/data_models.py +0 -0
  11. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/dmv2-serializer.py +0 -0
  12. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/internal.py +0 -0
  13. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/main.py +0 -0
  14. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/query_param.py +0 -0
  15. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/streaming/__init__.py +0 -0
  16. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/streaming/streaming_function_runner.py +0 -0
  17. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib/tasks.py +0 -0
  18. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib.egg-info/SOURCES.txt +0 -0
  19. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib.egg-info/dependency_links.txt +0 -0
  20. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib.egg-info/requires.txt +0 -0
  21. {moose_lib-0.4.217 → moose_lib-0.4.218}/moose_lib.egg-info/top_level.txt +0 -0
  22. {moose_lib-0.4.217 → moose_lib-0.4.218}/setup.cfg +0 -0
  23. {moose_lib-0.4.217 → moose_lib-0.4.218}/setup.py +0 -0
  24. {moose_lib-0.4.217 → moose_lib-0.4.218}/tests/__init__.py +0 -0
  25. {moose_lib-0.4.217 → moose_lib-0.4.218}/tests/conftest.py +0 -0
  26. {moose_lib-0.4.217 → moose_lib-0.4.218}/tests/test_moose.py +0 -0
  27. {moose_lib-0.4.217 → moose_lib-0.4.218}/tests/test_redis_client.py +0 -0
@@ -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
@@ -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
File without changes
File without changes
File without changes