moose-lib 0.4.184__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.
- {moose_lib-0.4.184 → moose_lib-0.4.185}/PKG-INFO +1 -1
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/dmv2.py +3 -2
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib.egg-info/PKG-INFO +1 -1
- {moose_lib-0.4.184 → moose_lib-0.4.185}/README.md +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/__init__.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/blocks.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/commons.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/data_models.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/dmv2-serializer.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/internal.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/main.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/query_param.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/streaming/__init__.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/streaming/streaming_function_runner.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib/tasks.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib.egg-info/SOURCES.txt +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib.egg-info/dependency_links.txt +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib.egg-info/requires.txt +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/moose_lib.egg-info/top_level.txt +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/setup.cfg +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/setup.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/tests/__init__.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/tests/conftest.py +0 -0
- {moose_lib-0.4.184 → moose_lib-0.4.185}/tests/test_moose.py +0 -0
@@ -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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|