[Python SDK] - What command can I use to check to see if a data row has a metadata field value?

What command can I use to check to see if a data row has a metadata field value

Hi @Kush,

You could use something like this:

metadata_ontology = client.get_data_row_metadata_ontology()
metadata = mdo.bulk_export([data_row_id_1, data_row_id_2, ...])

Source: Metadata

If you use the previous example with a single data row id, you will retrieve the metadata attached, if any.

Best,
Paul N.
Labelbox Support

1 Like