dagster-omni 0.27.14__tar.gz → 0.27.15__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.
Potentially problematic release.
This version of dagster-omni might be problematic. Click here for more details.
- {dagster_omni-0.27.14/dagster_omni.egg-info → dagster_omni-0.27.15}/PKG-INFO +2 -2
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/component.py +10 -0
- dagster_omni-0.27.15/dagster_omni/version.py +1 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15/dagster_omni.egg-info}/PKG-INFO +2 -2
- dagster_omni-0.27.15/dagster_omni.egg-info/requires.txt +2 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/setup.py +1 -1
- dagster_omni-0.27.14/dagster_omni/version.py +0 -1
- dagster_omni-0.27.14/dagster_omni.egg-info/requires.txt +0 -2
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/LICENSE +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/MANIFEST.in +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/README.md +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/__init__.py +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/objects.py +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/py.typed +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/translation.py +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni/workspace.py +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni.egg-info/SOURCES.txt +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni.egg-info/dependency_links.txt +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni.egg-info/not-zip-safe +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/dagster_omni.egg-info/top_level.txt +0 -0
- {dagster_omni-0.27.14 → dagster_omni-0.27.15}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dagster_omni
|
|
3
|
-
Version: 0.27.
|
|
3
|
+
Version: 0.27.15
|
|
4
4
|
Summary: Package for integrating Omni with Dagster.
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-omni
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: dagster==1.11.
|
|
17
|
+
Requires-Dist: dagster==1.11.15
|
|
18
18
|
Requires-Dist: aiohttp
|
|
19
19
|
Dynamic: author
|
|
20
20
|
Dynamic: author-email
|
|
@@ -7,6 +7,11 @@ import dagster as dg
|
|
|
7
7
|
from dagster._annotations import preview
|
|
8
8
|
from dagster._core.errors import DagsterInvalidDefinitionError
|
|
9
9
|
from dagster.components.component.state_backed_component import StateBackedComponent
|
|
10
|
+
from dagster.components.utils.defs_state import (
|
|
11
|
+
DefsStateConfig,
|
|
12
|
+
DefsStateConfigArgs,
|
|
13
|
+
ResolvedDefsStateConfig,
|
|
14
|
+
)
|
|
10
15
|
from pydantic import Field
|
|
11
16
|
|
|
12
17
|
from dagster_omni.objects import OmniDocument, OmniQuery, OmniWorkspaceData
|
|
@@ -28,6 +33,11 @@ class OmniComponent(StateBackedComponent, dg.Model, dg.Resolvable):
|
|
|
28
33
|
default=None,
|
|
29
34
|
description="Defines how to translate an Omni object into an AssetSpec object.",
|
|
30
35
|
)
|
|
36
|
+
defs_state: ResolvedDefsStateConfig = DefsStateConfigArgs.versioned_state_storage()
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
def defs_state_config(self) -> DefsStateConfig:
|
|
40
|
+
return DefsStateConfig.from_args(self.defs_state, default_key=self.__class__.__name__)
|
|
31
41
|
|
|
32
42
|
async def write_state_to_path(self, state_path: Path) -> None:
|
|
33
43
|
"""Fetch documents from Omni API and write state to path."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.27.15"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dagster_omni
|
|
3
|
-
Version: 0.27.
|
|
3
|
+
Version: 0.27.15
|
|
4
4
|
Summary: Package for integrating Omni with Dagster.
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-omni
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
15
|
Classifier: Operating System :: OS Independent
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: dagster==1.11.
|
|
17
|
+
Requires-Dist: dagster==1.11.15
|
|
18
18
|
Requires-Dist: aiohttp
|
|
19
19
|
Dynamic: author
|
|
20
20
|
Dynamic: author-email
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.27.14"
|
|
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
|