dagstermill 0.17.20__tar.gz → 0.17.21__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 dagstermill might be problematic. Click here for more details.

Files changed (30) hide show
  1. {dagstermill-0.17.20/dagstermill.egg-info → dagstermill-0.17.21}/PKG-INFO +1 -1
  2. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/manager.py +4 -3
  3. dagstermill-0.17.21/dagstermill/version.py +1 -0
  4. {dagstermill-0.17.20 → dagstermill-0.17.21/dagstermill.egg-info}/PKG-INFO +1 -1
  5. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill.egg-info/requires.txt +1 -1
  6. {dagstermill-0.17.20 → dagstermill-0.17.21}/setup.py +1 -1
  7. dagstermill-0.17.20/dagstermill/version.py +0 -1
  8. {dagstermill-0.17.20 → dagstermill-0.17.21}/LICENSE +0 -0
  9. {dagstermill-0.17.20 → dagstermill-0.17.21}/MANIFEST.in +0 -0
  10. {dagstermill-0.17.20 → dagstermill-0.17.21}/README.md +0 -0
  11. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/__init__.py +0 -0
  12. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/__main__.py +0 -0
  13. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/asset_factory.py +0 -0
  14. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/cli.py +0 -0
  15. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/compat.py +0 -0
  16. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/context.py +0 -0
  17. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/engine.py +0 -0
  18. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/errors.py +0 -0
  19. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/examples/__init__.py +0 -0
  20. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/examples/repository.py +0 -0
  21. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/factory.py +0 -0
  22. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/io_managers.py +0 -0
  23. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/py.typed +0 -0
  24. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/serialize.py +0 -0
  25. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill/translator.py +0 -0
  26. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill.egg-info/SOURCES.txt +0 -0
  27. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill.egg-info/dependency_links.txt +0 -0
  28. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill.egg-info/entry_points.txt +0 -0
  29. {dagstermill-0.17.20 → dagstermill-0.17.21}/dagstermill.egg-info/top_level.txt +0 -0
  30. {dagstermill-0.17.20 → dagstermill-0.17.21}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagstermill
3
- Version: 0.17.20
3
+ Version: 0.17.21
4
4
  Summary: run notebooks using the Dagster tools
5
5
  Home-page: UNKNOWN
6
6
  Author: Elementl
@@ -32,6 +32,7 @@ from dagster._core.execution.resources_init import (
32
32
  resource_initialization_event_generator,
33
33
  )
34
34
  from dagster._core.instance import DagsterInstance
35
+ from dagster._core.instance.ref import InstanceRef
35
36
  from dagster._core.log_manager import DagsterLogManager
36
37
  from dagster._core.storage.pipeline_run import DagsterRun, DagsterRunStatus
37
38
  from dagster._core.system_config.objects import ResolvedRunConfig, ResourceConfig
@@ -108,7 +109,7 @@ class Manager:
108
109
  def reconstitute_pipeline_context(
109
110
  self,
110
111
  executable_dict: Mapping[str, Any],
111
- pipeline_run_dict: Mapping[str, DagsterRun],
112
+ pipeline_run_dict: Mapping[str, Any],
112
113
  node_handle_kwargs: Mapping[str, Any],
113
114
  instance_ref_dict: Mapping[str, Any],
114
115
  step_key: str,
@@ -140,14 +141,14 @@ class Manager:
140
141
  pipeline_def = pipeline.get_definition()
141
142
 
142
143
  try:
143
- instance_ref = unpack_value(instance_ref_dict)
144
+ instance_ref = cast(InstanceRef, unpack_value(instance_ref_dict))
144
145
  instance = DagsterInstance.from_ref(instance_ref)
145
146
  except Exception as err:
146
147
  raise DagstermillError(
147
148
  "Error when attempting to resolve DagsterInstance from serialized InstanceRef"
148
149
  ) from err
149
150
 
150
- pipeline_run = unpack_value(pipeline_run_dict)
151
+ pipeline_run = cast(DagsterRun, unpack_value(pipeline_run_dict))
151
152
 
152
153
  node_handle = NodeHandle.from_dict(node_handle_kwargs)
153
154
  op = pipeline_def.get_solid(node_handle)
@@ -0,0 +1 @@
1
+ __version__ = "0.17.21"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dagstermill
3
- Version: 0.17.20
3
+ Version: 0.17.21
4
4
  Summary: run notebooks using the Dagster tools
5
5
  Home-page: UNKNOWN
6
6
  Author: Elementl
@@ -1,4 +1,4 @@
1
- dagster==1.1.20
1
+ dagster==1.1.21
2
2
  ipykernel!=5.4.0,!=5.4.1,>=4.9.0
3
3
  ipython_genutils>=0.2.0
4
4
  packaging>=20.9
@@ -32,7 +32,7 @@ setup(
32
32
  "Operating System :: OS Independent",
33
33
  ],
34
34
  install_requires=[
35
- "dagster==1.1.20",
35
+ "dagster==1.1.21",
36
36
  # ipykernel 5.4.0 and 5.4.1 broke papermill
37
37
  # see https://github.com/dagster-io/dagster/issues/3401,
38
38
  # https://github.com/nteract/papermill/issues/519,
@@ -1 +0,0 @@
1
- __version__ = "0.17.20"
File without changes
File without changes
File without changes
File without changes