Skip to content

Conversation

@attila-papai
Copy link
Contributor

An ADV import task won't fail when invalid metadata was given in the payload so a slightly different assertion is needed.

task.wait_till_done()
assert task.status == "FAILED"
assert len(task.failed_data_rows) > 0
if is_adv_enabled:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kkim-labelbox another difference in ADV
I documented this here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this because ADV partially fails now when there's an error with validation of metadata on one data row?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It partially succeeds instead. What can be imported, will be imported. The rest will be reported as failures.

@attila-papai attila-papai requested review from kkim-labelbox and vbrodsky and removed request for kopreschko and yamini-labelbox August 8, 2023 16:01
@attila-papai attila-papai requested a review from vbrodsky August 11, 2023 17:55
@attila-papai attila-papai merged commit 874a097 into develop Aug 14, 2023
@attila-papai attila-papai deleted the attila/AL-6733-invalid-metadata branch August 14, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants