Skip to content

Commit

Permalink
fix get-cats function to add kwarg usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jperez999 committed Jun 15, 2023
1 parent d26e776 commit d00cb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def get_cats(workflow, col, stat_name="categories", cpu=False):
# figure out the categorify node from the workflow graph
cats = [
cg.op
for cg in iter_nodes([workflow.output_node])
for cg in iter_nodes([workflow.output_node], flatten_subgraphs=True)
if isinstance(cg.op, nvtabular.ops.Categorify)
]
if len(cats) != 1:
Expand Down

0 comments on commit d00cb8f

Please sign in to comment.