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
4 changes: 2 additions & 2 deletions .mock/definition/blueprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ service:
title: title
updated_at: '2024-01-15T09:30:00Z'
audiences:
- public
- internal
delete:
path: /api/blueprints/{id}/
method: DELETE
Expand All @@ -64,7 +64,7 @@ service:
- path-parameters:
id: id
audiences:
- public
- internal
api_blueprints_create_project_retrieve:
path: /api/blueprints/{share_id}/create-project
method: GET
Expand Down
4 changes: 2 additions & 2 deletions .mock/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ paths:
tags:
- Blueprints
x-fern-audiences:
- public
- internal
x-fern-sdk-group-name: blueprints
x-fern-sdk-method-name: create
/api/blueprints/{id}/:
Expand All @@ -898,7 +898,7 @@ paths:
tags:
- Blueprints
x-fern-audiences:
- public
- internal
x-fern-sdk-group-name: blueprints
x-fern-sdk-method-name: delete
/api/blueprints/{share_id}/create-project:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "label-studio-sdk"

[tool.poetry]
name = "label-studio-sdk"
version = "2.0.9.dev"
version = "2.0.9"
description = ""
readme = "README.md"
authors = []
Expand Down
173 changes: 0 additions & 173 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1680,179 +1680,6 @@ client.billing.info()
</dl>


</dd>
</dl>
</details>

## Blueprints
<details><summary><code>client.blueprints.<a href="src/label_studio_sdk/blueprints/client.py">create</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Create a new blueprint
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from label_studio_sdk import LabelStudio

client = LabelStudio(
api_key="YOUR_API_KEY",
)
client.blueprints.create(
project=1,
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**project:** `int`

</dd>
</dl>

<dl>
<dd>

**created_by:** `typing.Optional[int]`

</dd>
</dl>

<dl>
<dd>

**description:** `typing.Optional[str]` — Project description

</dd>
</dl>

<dl>
<dd>

**label_config:** `typing.Optional[str]` — Labeling configuration in XML format

</dd>
</dl>

<dl>
<dd>

**title:** `typing.Optional[str]` — Blueprint name. Must be between 3 and 50 characters long.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.blueprints.<a href="src/label_studio_sdk/blueprints/client.py">delete</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Delete a blueprint by ID
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from label_studio_sdk import LabelStudio

client = LabelStudio(
api_key="YOUR_API_KEY",
)
client.blueprints.delete(
id="id",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**id:** `str`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
4 changes: 0 additions & 4 deletions src/label_studio_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
BillingFlags,
BillingInfoResponse,
BlankEnum,
Blueprint,
BlueprintList,
BudgetResetPeriodEnum,
ChildFilter,
Expand Down Expand Up @@ -240,7 +239,6 @@
annotation_reviews,
annotations,
billing,
blueprints,
comments,
export_storage,
files,
Expand Down Expand Up @@ -394,7 +392,6 @@
"BillingFlags",
"BillingInfoResponse",
"BlankEnum",
"Blueprint",
"BlueprintList",
"BudgetResetPeriodEnum",
"ChildFilter",
Expand Down Expand Up @@ -649,7 +646,6 @@
"annotation_reviews",
"annotations",
"billing",
"blueprints",
"comments",
"export_storage",
"files",
Expand Down
4 changes: 0 additions & 4 deletions src/label_studio_sdk/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from .annotation_reviews.client import AnnotationReviewsClient
from .annotations.client import AnnotationsClient
from .billing.client import BillingClient
from .blueprints.client import BlueprintsClient
from .comments.client import CommentsClient
from .users.client import UsersClient
from .actions.client import ActionsClient
Expand Down Expand Up @@ -40,7 +39,6 @@
from .annotation_reviews.client import AsyncAnnotationReviewsClient
from .annotations.client import AsyncAnnotationsClient
from .billing.client import AsyncBillingClient
from .blueprints.client import AsyncBlueprintsClient
from .comments.client import AsyncCommentsClient
from .users.client import AsyncUsersClient
from .actions.client import AsyncActionsClient
Expand Down Expand Up @@ -132,7 +130,6 @@ def __init__(
self.annotation_reviews = AnnotationReviewsClient(client_wrapper=self._client_wrapper)
self.annotations = AnnotationsClient(client_wrapper=self._client_wrapper)
self.billing = BillingClient(client_wrapper=self._client_wrapper)
self.blueprints = BlueprintsClient(client_wrapper=self._client_wrapper)
self.comments = CommentsClient(client_wrapper=self._client_wrapper)
self.users = UsersClient(client_wrapper=self._client_wrapper)
self.actions = ActionsClient(client_wrapper=self._client_wrapper)
Expand Down Expand Up @@ -224,7 +221,6 @@ def __init__(
self.annotation_reviews = AsyncAnnotationReviewsClient(client_wrapper=self._client_wrapper)
self.annotations = AsyncAnnotationsClient(client_wrapper=self._client_wrapper)
self.billing = AsyncBillingClient(client_wrapper=self._client_wrapper)
self.blueprints = AsyncBlueprintsClient(client_wrapper=self._client_wrapper)
self.comments = AsyncCommentsClient(client_wrapper=self._client_wrapper)
self.users = AsyncUsersClient(client_wrapper=self._client_wrapper)
self.actions = AsyncActionsClient(client_wrapper=self._client_wrapper)
Expand Down
2 changes: 0 additions & 2 deletions src/label_studio_sdk/blueprints/__init__.py

This file was deleted.

Loading
Loading