Skip to content

Commit cb00f8e

Browse files
authored
Merge pull request #1946 from kili-technology/feature/lab-3845-aa-sdk-user-i-see-outdated-part-of-the-doc-resolution-are
chore(LAB-3845): remove outdated doc on SDK
2 parents e0b1799 + 7941729 commit cb00f8e

File tree

5 files changed

+0
-470
lines changed

5 files changed

+0
-470
lines changed

docs/sdk/tutorials/geojson.md

Lines changed: 0 additions & 385 deletions
This file was deleted.

docs/sdk/tutorials/importing_pdf_assets.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -99,42 +99,6 @@ assets = kili.append_many_to_dataset(
9999

100100

101101

102-
## Update and check the resolutions
103-
104-
You can now update and check the resolutions of the pdf assets.
105-
106-
⚠️ This step is only necessary for assets that have been annotated before the 2023-07-05. Before this date, the page resolutions were not stored once a label was submitted, so if you need to backfill this value if you need it.
107-
108-
109-
```python
110-
from kili.utils.assets import PageResolution
111-
112-
kili.update_properties_in_assets(
113-
project_id=project_id,
114-
external_ids=external_ids,
115-
page_resolutions_array=[
116-
[
117-
PageResolution(page_number=1, height=700, width=500),
118-
PageResolution(page_number=2, height=700, width=500),
119-
PageResolution(page_number=3, height=700, width=500),
120-
PageResolution(page_number=4, height=700, width=500),
121-
],
122-
[
123-
PageResolution(page_number=1, height=700, width=500),
124-
PageResolution(page_number=2, height=700, width=500),
125-
PageResolution(page_number=3, height=700, width=500),
126-
PageResolution(page_number=4, height=700, width=500),
127-
],
128-
[
129-
PageResolution(page_number=1, height=700, width=500),
130-
PageResolution(page_number=2, height=700, width=500),
131-
PageResolution(page_number=3, height=700, width=500),
132-
PageResolution(page_number=4, height=700, width=500),
133-
],
134-
],
135-
)
136-
```
137-
138102
## Fetching the asset resolutions
139103

140104
You can fetch the PDF asset resolutions this way:

docs/tutorials.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ This [tutorial](https://python-sdk-docs.kili-technology.com/latest/sdk/tutorials
5252

5353
This [tutorial](https://python-sdk-docs.kili-technology.com/latest/sdk/tutorials/importing_pascalvoc/) shows how to import PascalVOC annotations into Kili.
5454

55-
On this [tutorial](https://python-sdk-docs.kili-technology.com/latest/sdk/tutorials/geojson/), you will learn how to import GeoJSON annotations into Kili, and how to export Kili annotations to GeoJSON.
56-
5755
## Managing workflows
5856

5957
In [this tutorial](https://python-sdk-docs.kili-technology.com/latest/sdk/tutorials/set_up_workflows/) you will learn how to manage your review queue, set up quality assurance measures, assign specific labelers to assets, and prioritize assets to be annotated.

mkdocs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ nav:
5858
- Tagtog: sdk/tutorials/tagtog_to_kili.md
5959
- COCO: sdk/tutorials/importing_coco.md
6060
- PascalVOC: sdk/tutorials/importing_pascalvoc.md
61-
- GeoJSON: sdk/tutorials/geojson.md
6261
- Managing Workflows: sdk/tutorials/set_up_workflows.md
6362
- Exporting Project Data:
6463
- Exporting a Project: sdk/tutorials/export_a_kili_project.md

recipes/importing_pdf_assets.ipynb

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -156,52 +156,6 @@
156156
")"
157157
]
158158
},
159-
{
160-
"attachments": {},
161-
"cell_type": "markdown",
162-
"metadata": {},
163-
"source": [
164-
"## Update and check the resolutions\n",
165-
"\n",
166-
"You can now update and check the resolutions of the pdf assets.\n",
167-
"\n",
168-
"⚠️ This step is only necessary for assets that have been annotated before the 2023-07-05. Before this date, the page resolutions were not stored once a label was submitted, so if you need to backfill this value if you need it."
169-
]
170-
},
171-
{
172-
"cell_type": "code",
173-
"execution_count": null,
174-
"metadata": {},
175-
"outputs": [],
176-
"source": [
177-
"from kili.utils.assets import PageResolution\n",
178-
"\n",
179-
"kili.update_properties_in_assets(\n",
180-
" project_id=project_id,\n",
181-
" external_ids=external_ids,\n",
182-
" page_resolutions_array=[\n",
183-
" [\n",
184-
" PageResolution(page_number=1, height=700, width=500),\n",
185-
" PageResolution(page_number=2, height=700, width=500),\n",
186-
" PageResolution(page_number=3, height=700, width=500),\n",
187-
" PageResolution(page_number=4, height=700, width=500),\n",
188-
" ],\n",
189-
" [\n",
190-
" PageResolution(page_number=1, height=700, width=500),\n",
191-
" PageResolution(page_number=2, height=700, width=500),\n",
192-
" PageResolution(page_number=3, height=700, width=500),\n",
193-
" PageResolution(page_number=4, height=700, width=500),\n",
194-
" ],\n",
195-
" [\n",
196-
" PageResolution(page_number=1, height=700, width=500),\n",
197-
" PageResolution(page_number=2, height=700, width=500),\n",
198-
" PageResolution(page_number=3, height=700, width=500),\n",
199-
" PageResolution(page_number=4, height=700, width=500),\n",
200-
" ],\n",
201-
" ],\n",
202-
")"
203-
]
204-
},
205159
{
206160
"attachments": {},
207161
"cell_type": "markdown",

0 commit comments

Comments
 (0)