Skip to content

Instantly share code, notes, and snippets.

@alangenfeld
Created July 26, 2021 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alangenfeld/8e394ccf12dda9abafd79c6d99d3d1f7 to your computer and use it in GitHub Desktop.
Save alangenfeld/8e394ccf12dda9abafd79c6d99d3d1f7 to your computer and use it in GitHub Desktop.
AttributeError: 'NoneType' object has no attribute 'parent_run_id'
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/plan/execute_plan.py", line 193, in _dagster_event_sequence_for_step
for step_event in check.generator(step_events):
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/plan/execute_step.py", line 283, in core_dagster_event_sequence_for_step
input_lineage.extend(step_input.source.get_asset_lineage(step_context))
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/plan/inputs.py", line 285, in get_asset_lineage
load_context = self.get_load_context(step_context)
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/plan/inputs.py", line 231, in get_load_context
resources,
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/context/system.py", line 447, in for_input_manager
upstream_output=self.get_output_context(source_handle) if source_handle else None,
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/context/system.py", line 425, in get_output_context
self._get_source_run_id(step_output_handle),
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/context/system.py", line 501, in _get_source_run_id
return self._get_source_run_id_from_logs(step_output_handle)
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/context/system.py", line 465, in _get_source_run_id_from_logs
run_id_to_parent_run_id = {run.run_id: run.parent_run_id for run in runs}
File "/opt/bitnami/python/lib/python3.7/site-packages/dagster/core/execution/context/system.py", line 465, in <dictcomp>
run_id_to_parent_run_id = {run.run_id: run.parent_run_id for run in runs}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment