From ceced430f5e6deaea061ab97452bd0fd03f25f7f Mon Sep 17 00:00:00 2001 From: mnoszczak Date: Wed, 21 Oct 2026 12:06:07 +0200 Subject: [PATCH] docs: [PLT-4661] say what LabelVersion.annotation_count counts Co-Authored-By: Claude Opus 5.5 --- libs/labelbox/src/labelbox/schema/label_version.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libs/labelbox/src/labelbox/schema/label_version.py b/libs/labelbox/src/labelbox/schema/label_version.py index 6bca8cf4a..91c1519d7 100644 --- a/libs/labelbox/src/labelbox/schema/label_version.py +++ b/libs/labelbox/src/labelbox/schema/label_version.py @@ -78,8 +78,11 @@ class LabelVersion(_CamelCaseMixin): a submit, the reviewer for a review save or decision. stage (Optional[LabelVersionStage]): The workflow step the data row was in. ``None`` when it was in none (Done). - annotation_count (int): Number of annotations (features) in the - version. + annotation_count (int): Number of annotations in the version, counted + as the editor and exports count them: each object and each + classification at the top of the label. A classification's + answers and an object's nested classifications are part of it, + and the segmentation group that holds masks is not counted. label (Optional[str]): The annotations at that moment, as stringified JSON in the same shape as :attr:`labelbox.schema.label.Label.label`. Feature schema names are the ones in effect then. ``None`` when