Skip to content

Commit

Permalink
fix(dagster): support dagster v1.9.6 (datahub-project#12189)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomezvillamor authored Dec 20, 2024
1 parent eceb799 commit 66df362
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def generate_datajob(
# Also, add datahub inputs/outputs if present in input/output metatdata.
for input_def_snap in op_def_snap.input_def_snaps:
job_property_bag[f"input.{input_def_snap.name}"] = str(
input_def_snap._asdict()
input_def_snap.__dict__
)
if Constant.DATAHUB_INPUTS in input_def_snap.metadata:
datajob.inlets.extend(
Expand All @@ -533,7 +533,7 @@ def generate_datajob(

for output_def_snap in op_def_snap.output_def_snaps:
job_property_bag[f"output_{output_def_snap.name}"] = str(
output_def_snap._asdict()
output_def_snap.__dict__
)
if (
Constant.DATAHUB_OUTPUTS in output_def_snap.metadata
Expand Down

0 comments on commit 66df362

Please sign in to comment.