From a51084652b95f7f066282a3394da84bb0dcc32e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Fri, 23 Oct 2026 04:18:12 -0400 Subject: [PATCH] docs: fix 3 typos in SDK docstrings and comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Léon Avic Simmons --- libs/labelbox/src/labelbox/data/annotation_types/data/raster.py | 2 +- .../src/labelbox/data/serialization/ndjson/converter.py | 2 +- libs/labelbox/src/labelbox/schema/batch.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py b/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py index 8702b8aeb..80248699b 100644 --- a/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py +++ b/libs/labelbox/src/labelbox/data/annotation_types/data/raster.py @@ -207,7 +207,7 @@ class MaskData(RasterData): single cell, only one class can be present. All Mask data is converted to a [H,W,3] image. Classes are - >>> # 3x3 mask with two classes and back ground + >>> # 3x3 mask with two classes and background >>> MaskData.from_2D_arr([ >>> [0, 0, 0], >>> [1, 1, 1], diff --git a/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py b/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py index 9d0bbdc5a..e3ba95929 100644 --- a/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py +++ b/libs/labelbox/src/labelbox/data/serialization/ndjson/converter.py @@ -19,7 +19,7 @@ def serialize( Converts a labelbox common object to the labelbox ndjson format (prediction import format) Note that this function might fail for objects that are not supported by mal. - Not all edge cases are handling by custom exceptions, if you get a cryptic pydantic error message it is probably due to this. + Not all edge cases are handled by custom exceptions, if you get a cryptic pydantic error message it is probably due to this. We will continue to improve the error messages and add helper functions to deal with this. Args: diff --git a/libs/labelbox/src/labelbox/schema/batch.py b/libs/labelbox/src/labelbox/schema/batch.py index 99e4c4908..5d07a2865 100644 --- a/libs/labelbox/src/labelbox/schema/batch.py +++ b/libs/labelbox/src/labelbox/schema/batch.py @@ -88,7 +88,7 @@ def remove_queued_data_rows(self) -> None: def delete(self) -> None: """Deletes the given batch. - Note: Batch deletion for batches that has labels is forbidden. + Note: Batch deletion for batches that have labels is forbidden. Args: batch (Batch): Batch to remove queued data rows from