Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

# Version 3.61.2 (2024-01-29)
## Added
* `ModelSlice.get_data_row_identifiers` for Foundry data rows

## Fixed
* `ModelSlice.get_data_row_identifiers` scoping by model run id

# Version 3.61.1 (2024-01-25)
## Fixed
* Removed export API limit (5000)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.9-slim-bullseye

RUN pip install pytest pytest-cases pytest-rerunfailures pytest-snapshot
RUN pip install pytest=="7.4.4" pytest-cases pytest-rerunfailures pytest-snapshot
RUN apt-get -y update
RUN apt install -y libsm6 \
libxext6 \
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx==4.5.0
Sphinx~=5.3.0
sphinx-rtd-theme==0.5.1
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
copyright = '2021, Labelbox'
author = 'Labelbox'

release = '3.61.1'
release = '3.61.2'

# -- General configuration ---------------------------------------------------

Expand Down
91 changes: 8 additions & 83 deletions examples/basics/basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,7 @@
"print(\"Dataset Name:\" , dataset_name)"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Project ID: cl9smiqo23hk307y27k42cajv\n",
"Project Name: html-editor\n",
"----------------------------------------\n",
"Dataset ID: cl9sywtkj2gsv07vk2isaeadj\n",
"Dataset Name: text_test.json\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand All @@ -133,16 +121,7 @@
"print(\"Dataset: \", dataset)"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Project: <Project {'auto_audit_number_of_labels': 1, 'auto_audit_percentage': 1, 'created_at': datetime.datetime(2022, 10, 28, 15, 2, 45, tzinfo=datetime.timezone.utc), 'description': '', 'last_activity_time': datetime.datetime(2022, 10, 28, 15, 47, 41, tzinfo=datetime.timezone.utc), 'media_type': <MediaType.Image: 'IMAGE'>, 'name': 'html-editor', 'queue_mode': <QueueMode.Batch: 'BATCH'>, 'setup_complete': None, 'uid': 'cl9smiqo23hk307y27k42cajv', 'updated_at': datetime.datetime(2022, 10, 28, 15, 47, 41, tzinfo=datetime.timezone.utc)}>\n",
"Dataset: <Dataset {'created_at': datetime.datetime(2022, 10, 28, 20, 49, 38, tzinfo=datetime.timezone.utc), 'description': '', 'name': 'text_test.json', 'row_count': 3, 'uid': 'cl9sywtkj2gsv07vk2isaeadj', 'updated_at': datetime.datetime(2022, 10, 28, 20, 49, 40, tzinfo=datetime.timezone.utc)}>\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand All @@ -161,16 +140,7 @@
"print(dataset.name)"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"html-editor\n",
"text_test.json\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand All @@ -187,15 +157,7 @@
"print(project.description)"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"new description field\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand All @@ -218,16 +180,7 @@
"print(\"Number of labels :\", len(list(labels_paginated_collection)))"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Type of collection: <class 'labelbox.pagination.PaginatedCollection'>\n",
"Number of labels : 0\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand All @@ -242,15 +195,7 @@
" print(\"Project has no labels !\")"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Project has no labels !\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand Down Expand Up @@ -280,18 +225,7 @@
"# We can see there is only one."
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<labelbox.pagination.PaginatedCollection object at 0x7fe3c7a49e90>\n",
"<Project {'auto_audit_number_of_labels': 1, 'auto_audit_percentage': 1, 'created_at': datetime.datetime(2022, 10, 28, 15, 2, 45, tzinfo=datetime.timezone.utc), 'description': 'new description field', 'last_activity_time': datetime.datetime(2022, 11, 1, 19, 18, 21, tzinfo=datetime.timezone.utc), 'media_type': <MediaType.Image: 'IMAGE'>, 'name': 'html-editor', 'queue_mode': <QueueMode.Batch: 'BATCH'>, 'setup_complete': None, 'uid': 'cl9smiqo23hk307y27k42cajv', 'updated_at': datetime.datetime(2022, 11, 1, 19, 18, 21, tzinfo=datetime.timezone.utc)}>\n",
"None\n",
"None\n"
]
}
],
"outputs": [],
"execution_count": null
},
{
Expand Down Expand Up @@ -324,16 +258,7 @@
" print(f\" Name of batches in project: {b.name}\")"
],
"cell_type": "code",
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" Name of project : html-editor\n",
" Name of batches in project: testsss\n"
]
}
],
"outputs": [],
"execution_count": null
}
]
Expand Down
Loading