Skip to content

Commit 93750f1

Browse files
authored
Cleared some outputs and metadata on some notebooks fixed some very minor typos (#1392)
1 parent 3053e78 commit 93750f1

File tree

4 files changed

+133
-238
lines changed

4 files changed

+133
-238
lines changed

examples/basics/basics.ipynb

Lines changed: 8 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,7 @@
100100
"print(\"Dataset Name:\" , dataset_name)"
101101
],
102102
"cell_type": "code",
103-
"outputs": [
104-
{
105-
"name": "stdout",
106-
"output_type": "stream",
107-
"text": [
108-
"Project ID: cl9smiqo23hk307y27k42cajv\n",
109-
"Project Name: html-editor\n",
110-
"----------------------------------------\n",
111-
"Dataset ID: cl9sywtkj2gsv07vk2isaeadj\n",
112-
"Dataset Name: text_test.json\n"
113-
]
114-
}
115-
],
103+
"outputs": [],
116104
"execution_count": null
117105
},
118106
{
@@ -133,16 +121,7 @@
133121
"print(\"Dataset: \", dataset)"
134122
],
135123
"cell_type": "code",
136-
"outputs": [
137-
{
138-
"name": "stdout",
139-
"output_type": "stream",
140-
"text": [
141-
"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",
142-
"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"
143-
]
144-
}
145-
],
124+
"outputs": [],
146125
"execution_count": null
147126
},
148127
{
@@ -161,16 +140,7 @@
161140
"print(dataset.name)"
162141
],
163142
"cell_type": "code",
164-
"outputs": [
165-
{
166-
"name": "stdout",
167-
"output_type": "stream",
168-
"text": [
169-
"html-editor\n",
170-
"text_test.json\n"
171-
]
172-
}
173-
],
143+
"outputs": [],
174144
"execution_count": null
175145
},
176146
{
@@ -187,15 +157,7 @@
187157
"print(project.description)"
188158
],
189159
"cell_type": "code",
190-
"outputs": [
191-
{
192-
"name": "stdout",
193-
"output_type": "stream",
194-
"text": [
195-
"new description field\n"
196-
]
197-
}
198-
],
160+
"outputs": [],
199161
"execution_count": null
200162
},
201163
{
@@ -218,16 +180,7 @@
218180
"print(\"Number of labels :\", len(list(labels_paginated_collection)))"
219181
],
220182
"cell_type": "code",
221-
"outputs": [
222-
{
223-
"name": "stdout",
224-
"output_type": "stream",
225-
"text": [
226-
"Type of collection: <class 'labelbox.pagination.PaginatedCollection'>\n",
227-
"Number of labels : 0\n"
228-
]
229-
}
230-
],
183+
"outputs": [],
231184
"execution_count": null
232185
},
233186
{
@@ -242,15 +195,7 @@
242195
" print(\"Project has no labels !\")"
243196
],
244197
"cell_type": "code",
245-
"outputs": [
246-
{
247-
"name": "stdout",
248-
"output_type": "stream",
249-
"text": [
250-
"Project has no labels !\n"
251-
]
252-
}
253-
],
198+
"outputs": [],
254199
"execution_count": null
255200
},
256201
{
@@ -280,18 +225,7 @@
280225
"# We can see there is only one."
281226
],
282227
"cell_type": "code",
283-
"outputs": [
284-
{
285-
"name": "stdout",
286-
"output_type": "stream",
287-
"text": [
288-
"<labelbox.pagination.PaginatedCollection object at 0x7fe3c7a49e90>\n",
289-
"<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",
290-
"None\n",
291-
"None\n"
292-
]
293-
}
294-
],
228+
"outputs": [],
295229
"execution_count": null
296230
},
297231
{
@@ -324,16 +258,7 @@
324258
" print(f\" Name of batches in project: {b.name}\")"
325259
],
326260
"cell_type": "code",
327-
"outputs": [
328-
{
329-
"name": "stdout",
330-
"output_type": "stream",
331-
"text": [
332-
" Name of project : html-editor\n",
333-
" Name of batches in project: testsss\n"
334-
]
335-
}
336-
],
261+
"outputs": [],
337262
"execution_count": null
338263
}
339264
]

0 commit comments

Comments
 (0)