Commit 66df362 1 parent eceb799 commit 66df362 Copy full SHA for 66df362
File tree 1 file changed +2
-2
lines changed
metadata-ingestion-modules/dagster-plugin/src/datahub_dagster_plugin/client
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -522,7 +522,7 @@ def generate_datajob(
522
522
# Also, add datahub inputs/outputs if present in input/output metatdata.
523
523
for input_def_snap in op_def_snap .input_def_snaps :
524
524
job_property_bag [f"input.{ input_def_snap .name } " ] = str (
525
- input_def_snap ._asdict ()
525
+ input_def_snap .__dict__
526
526
)
527
527
if Constant .DATAHUB_INPUTS in input_def_snap .metadata :
528
528
datajob .inlets .extend (
@@ -533,7 +533,7 @@ def generate_datajob(
533
533
534
534
for output_def_snap in op_def_snap .output_def_snaps :
535
535
job_property_bag [f"output_{ output_def_snap .name } " ] = str (
536
- output_def_snap ._asdict ()
536
+ output_def_snap .__dict__
537
537
)
538
538
if (
539
539
Constant .DATAHUB_OUTPUTS in output_def_snap .metadata
You can’t perform that action at this time.
0 commit comments