Skip to content

Commit

Permalink
make create trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Jun 9, 2024
1 parent 4c452fb commit 8160e90
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,10 @@ def inner(fn: AssetCheckFunction) -> AssetChecksDefinition:
)

op_def = builder.create_op_definition()

return AssetChecksDefinition.create(
keys_by_input_name={
input_tuple[0]: asset_key
for asset_key, input_tuple in named_in_by_asset_key.items()
},
keys_by_input_name=builder.asset_keys_by_input_name,
node_def=op_def,
resource_defs=resource_defs_for_execution,
resource_defs=builder.args.assets_def_resource_defs,
check_specs_by_output_name={op_def.output_defs[0].name: spec},
can_subset=False,
)
Expand Down

0 comments on commit 8160e90

Please sign in to comment.