dagstermill 0.17.20__py3-none-any.whl → 0.17.21__py3-none-any.whl

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.

dagstermill/manager.py CHANGED
@@ -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)
dagstermill/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.17.20"
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
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.10
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.1.20)
17
+ Requires-Dist: dagster (==1.1.21)
18
18
  Requires-Dist: ipykernel (!=5.4.0,!=5.4.1,>=4.9.0)
19
19
  Requires-Dist: ipython-genutils (>=0.2.0)
20
20
  Requires-Dist: packaging (>=20.9)
@@ -8,15 +8,15 @@ dagstermill/engine.py,sha256=0VJfMpi8tXmt8oljvOXAzHYP2xpPTbOxxFuvAS_AwLo,5928
8
8
  dagstermill/errors.py,sha256=WOmpAGp-J1XhyGK_LT3ZZKsBwF5dvrWbqSaSldtoh6Y,141
9
9
  dagstermill/factory.py,sha256=tF5bE097lkPINa9OqHEAA92JPiOQULWKM4UVsA2_JKA,18472
10
10
  dagstermill/io_managers.py,sha256=OGUjSH--pN8qsTDBgGPLWdeamXwEZOjfNX9rQfNsQEs,3533
11
- dagstermill/manager.py,sha256=3rpgLKg9HWY9k4lb3w33Mn97znvOyeMREz-Qwcl8fZ0,17036
11
+ dagstermill/manager.py,sha256=A7wPb_75ayExpsN8HV396Zxce5tyiinSqU7CprsXFMQ,17117
12
12
  dagstermill/serialize.py,sha256=eXW3c26CiILT_uebyFcAKBnsiNxnjyGT_ch3PfGyjek,188
13
13
  dagstermill/translator.py,sha256=go_5ocu575epGPmGJcHqAqH7N7-aSdtiaMHw5T9CXvs,2223
14
- dagstermill/version.py,sha256=rfSeAIcDOQhwa2WLB7DFhYyrO6_WgMNDfEWmq4BXh7k,24
14
+ dagstermill/version.py,sha256=02pERK8eGbKCmhhaP6R4kszX1AZhworPgk9xCzHc0Ak,24
15
15
  dagstermill/examples/__init__.py,sha256=kzan-9zFjxaJ8o9bqUso44gcGiOmJrlq4JYO-yIBQao,55
16
16
  dagstermill/examples/repository.py,sha256=LoQSv5TaOYwlz9RAWtfChm6ELQKhMIrvb3owvG-xRyY,14808
17
- dagstermill-0.17.20.dist-info/LICENSE,sha256=-gtoVIAZYUHYmNHISZg982FI4Oh19mV1nxgTVW8eCB8,11344
18
- dagstermill-0.17.20.dist-info/METADATA,sha256=22NlWM0e0dbFV447QsfxuKkE02TVdtCDDDpiC1JInFQ,1014
19
- dagstermill-0.17.20.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
20
- dagstermill-0.17.20.dist-info/entry_points.txt,sha256=BAnkw0uZ7RK7YSz8L0Vz_2lO26XSs2sdtIXsL6wjmSk,54
21
- dagstermill-0.17.20.dist-info/top_level.txt,sha256=YDelJKdA5YIIrjsObdd8U4E9YhuXJLRe9NKfUzud9Uc,12
22
- dagstermill-0.17.20.dist-info/RECORD,,
17
+ dagstermill-0.17.21.dist-info/LICENSE,sha256=-gtoVIAZYUHYmNHISZg982FI4Oh19mV1nxgTVW8eCB8,11344
18
+ dagstermill-0.17.21.dist-info/METADATA,sha256=PAYnhVGoR85NNtxMv5kSVNXBGqywzp3OM0ZHwnYyoMY,1014
19
+ dagstermill-0.17.21.dist-info/WHEEL,sha256=p46_5Uhzqz6AzeSosiOnxK-zmFja1i22CrQCjmYe8ec,92
20
+ dagstermill-0.17.21.dist-info/entry_points.txt,sha256=BAnkw0uZ7RK7YSz8L0Vz_2lO26XSs2sdtIXsL6wjmSk,54
21
+ dagstermill-0.17.21.dist-info/top_level.txt,sha256=YDelJKdA5YIIrjsObdd8U4E9YhuXJLRe9NKfUzud9Uc,12
22
+ dagstermill-0.17.21.dist-info/RECORD,,