Export data filtering on workflow_status InReview

I’m exporting my projects data and only want to export data that is ready for review, this is what the code looks like

export_params = {
        "metadata_fields": True,
        "project_details": True,
        "label_details": True,
        "performance_details": True,
        "data_row_details": False,
        "media_attributes": False,
        "metadata_fields": False,
    }

    # ToLabel, InReview, InRework, Done
    filters = {
        "workflow_status": "InReview",
    }

    export_task = project.export_v2(params=export_params, filters=filters)
    export_task.wait_till_done()

But when I look at the data I only see TO_LABEL data - even though my webUI shows many items (118) that are In Review. Any idea why this might be happening?

Screenshot 2023-08-17 at 11.58.57 AM

Hello @sid1 ,

Are you using the latest version of the SDK (currently 3.51.0) ?
ref : https://github.com/Labelbox/labelbox-python/blob/master/CHANGELOG.md

And please check the docs : Export overview

Many thanks,
PT
Labelbox Support

Ah okay - I was on ‘3.50.0’, documentation here says to use InReview which works with 3.51.0 - thanks!

Good call out! pasted the wrong link!

1 Like