moose-lib 0.4.183__tar.gz → 0.4.185__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 (24) hide show
  1. {moose_lib-0.4.183 → moose_lib-0.4.185}/PKG-INFO +1 -1
  2. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/dmv2.py +3 -2
  3. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib.egg-info/PKG-INFO +1 -1
  4. {moose_lib-0.4.183 → moose_lib-0.4.185}/README.md +0 -0
  5. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/__init__.py +0 -0
  6. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/blocks.py +0 -0
  7. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/commons.py +0 -0
  8. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/data_models.py +0 -0
  9. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/dmv2-serializer.py +0 -0
  10. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/internal.py +0 -0
  11. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/main.py +0 -0
  12. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/query_param.py +0 -0
  13. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/streaming/__init__.py +0 -0
  14. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/streaming/streaming_function_runner.py +0 -0
  15. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib/tasks.py +0 -0
  16. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib.egg-info/SOURCES.txt +0 -0
  17. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib.egg-info/dependency_links.txt +0 -0
  18. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib.egg-info/requires.txt +0 -0
  19. {moose_lib-0.4.183 → moose_lib-0.4.185}/moose_lib.egg-info/top_level.txt +0 -0
  20. {moose_lib-0.4.183 → moose_lib-0.4.185}/setup.cfg +0 -0
  21. {moose_lib-0.4.183 → moose_lib-0.4.185}/setup.py +0 -0
  22. {moose_lib-0.4.183 → moose_lib-0.4.185}/tests/__init__.py +0 -0
  23. {moose_lib-0.4.183 → moose_lib-0.4.185}/tests/conftest.py +0 -0
  24. {moose_lib-0.4.183 → moose_lib-0.4.185}/tests/test_moose.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moose_lib
3
- Version: 0.4.183
3
+ Version: 0.4.185
4
4
  Home-page: https://www.fiveonefour.com/moose
5
5
  Author: Fiveonefour Labs Inc.
6
6
  Author-email: support@fiveonefour.com
@@ -498,6 +498,7 @@ class IngestPipeline(TypedMooseResource, Generic[T]):
498
498
  table: Optional[OlapTable[T]] = None
499
499
  stream: Optional[Stream[T]] = None
500
500
  ingest_api: Optional[IngestApi[T]] = None
501
+ metadata: Optional[dict] = None
501
502
 
502
503
  def get_table(self) -> OlapTable[T]:
503
504
  """Retrieves the pipeline's OLAP table component.
@@ -747,6 +748,7 @@ class MaterializedViewOptions(BaseModel):
747
748
  materialized_view_name: str
748
749
  engine: Optional[ClickHouseEngines] = None
749
750
  order_by_fields: Optional[list[str]] = None
751
+ metadata: Optional[dict] = None
750
752
  # Ensure arbitrary types are allowed for Pydantic validation
751
753
  model_config = ConfigDict(arbitrary_types_allowed=True)
752
754
 
@@ -778,7 +780,6 @@ class MaterializedView(SqlResource, BaseTypedResource, Generic[T]):
778
780
  def __init__(
779
781
  self,
780
782
  options: MaterializedViewOptions,
781
- metadata: dict = None,
782
783
  **kwargs
783
784
  ):
784
785
  self._set_type(options.materialized_view_name, self._get_type(kwargs))
@@ -804,7 +805,7 @@ class MaterializedView(SqlResource, BaseTypedResource, Generic[T]):
804
805
  teardown,
805
806
  pulls_data_from=options.select_tables,
806
807
  pushes_data_to=[target_table],
807
- metadata=metadata
808
+ metadata=options.metadata
808
809
  )
809
810
 
810
811
  self.target_table = target_table
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: moose_lib
3
- Version: 0.4.183
3
+ Version: 0.4.185
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