Submitting and reviewing label logs

The following method is used to submit a label row for review by specifying the <label_hash>. It will submit the annotation task containing the label row for review.


project.submit_label_row_for_review("<label_hash>")

While the get_label_row() method provides static information about the labels at a point in time, the get_label_logs() method gives you an actions log that was created in the UI to create all the current labels. Those actions include for example adding, editing, and deleting labels.

Please see our documentation on label logs for more information on how to view label logs.

Use the following example to print a single label log:


# print first log
logs = project.get_label_logs(data_hash="7d452929-9d2a-4aac-9010-4aa1dc8d4806")
for log in logs:
    print(log)
    break


LabelLog(
        log_hash=None,
        user_hash=None,
        user_email="[email protected]",
        annotation_hash="2t5kCNyw",
        identifier="2t5kCNyw",
        data_hash="7d452929-9d2a-4aac-9010-4aa1dc8d4806",
        feature_hash="KOYgD/K3",
        action=0,
        label_name="Text classification",
        time_taken=1482,
        created_at="2022-11-30 17:27:10",
        frame=1,
    )