Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
7742a64
codegen metadata
stainless-app[bot] Jan 5, 2026
adc8412
codegen metadata
stainless-app[bot] Jan 5, 2026
095a5f9
codegen metadata
stainless-app[bot] Jan 5, 2026
0ae7072
codegen metadata
stainless-app[bot] Jan 5, 2026
3a76a7c
codegen metadata
stainless-app[bot] Jan 5, 2026
0596aef
codegen metadata
stainless-app[bot] Jan 5, 2026
04f1453
codegen metadata
stainless-app[bot] Jan 5, 2026
733c00d
codegen metadata
stainless-app[bot] Jan 6, 2026
1c3ccff
codegen metadata
stainless-app[bot] Jan 6, 2026
21a1a2b
feat(api): api update
stainless-app[bot] Jan 6, 2026
d839c2b
codegen metadata
stainless-app[bot] Jan 6, 2026
2fca1fc
codegen metadata
stainless-app[bot] Jan 6, 2026
89982c9
codegen metadata
stainless-app[bot] Jan 6, 2026
39bdcd9
codegen metadata
stainless-app[bot] Jan 6, 2026
1f8a982
codegen metadata
stainless-app[bot] Jan 6, 2026
ad489f5
codegen metadata
stainless-app[bot] Jan 6, 2026
a5a6923
codegen metadata
stainless-app[bot] Jan 6, 2026
3d045b5
codegen metadata
stainless-app[bot] Jan 6, 2026
3051370
codegen metadata
stainless-app[bot] Jan 6, 2026
82aec13
codegen metadata
stainless-app[bot] Jan 6, 2026
abe0902
codegen metadata
stainless-app[bot] Jan 6, 2026
04fde1a
codegen metadata
stainless-app[bot] Jan 6, 2026
5d41dd6
codegen metadata
stainless-app[bot] Jan 6, 2026
7acc86f
codegen metadata
stainless-app[bot] Jan 6, 2026
a4e3ff5
codegen metadata
stainless-app[bot] Jan 6, 2026
bcb05a1
codegen metadata
stainless-app[bot] Jan 6, 2026
2ea529d
codegen metadata
stainless-app[bot] Jan 6, 2026
78f26d8
codegen metadata
stainless-app[bot] Jan 7, 2026
ff7a3a8
codegen metadata
stainless-app[bot] Jan 7, 2026
2001c19
codegen metadata
stainless-app[bot] Jan 7, 2026
58e51d0
codegen metadata
stainless-app[bot] Jan 7, 2026
d1e6b3d
codegen metadata
stainless-app[bot] Jan 7, 2026
2fa01d7
codegen metadata
stainless-app[bot] Jan 7, 2026
53fe276
codegen metadata
stainless-app[bot] Jan 7, 2026
02b466e
codegen metadata
stainless-app[bot] Jan 7, 2026
0221156
codegen metadata
stainless-app[bot] Jan 7, 2026
6aaf47f
codegen metadata
stainless-app[bot] Jan 7, 2026
9c8a662
codegen metadata
stainless-app[bot] Jan 7, 2026
bf3878e
codegen metadata
stainless-app[bot] Jan 7, 2026
9e8c374
codegen metadata
stainless-app[bot] Jan 7, 2026
bb857b9
codegen metadata
stainless-app[bot] Jan 7, 2026
dd5ce7d
codegen metadata
stainless-app[bot] Jan 7, 2026
408b69e
codegen metadata
stainless-app[bot] Jan 7, 2026
69da407
codegen metadata
stainless-app[bot] Jan 7, 2026
e6db2a4
codegen metadata
stainless-app[bot] Jan 7, 2026
7eca4a0
codegen metadata
stainless-app[bot] Jan 7, 2026
8824912
codegen metadata
stainless-app[bot] Jan 8, 2026
13aa236
codegen metadata
stainless-app[bot] Jan 8, 2026
32c7552
codegen metadata
stainless-app[bot] Jan 8, 2026
9aa0df5
codegen metadata
stainless-app[bot] Jan 8, 2026
f7b62f9
codegen metadata
stainless-app[bot] Jan 8, 2026
c57e358
codegen metadata
stainless-app[bot] Jan 8, 2026
16ad72a
codegen metadata
stainless-app[bot] Jan 8, 2026
9a8e910
codegen metadata
stainless-app[bot] Jan 8, 2026
96704fa
codegen metadata
stainless-app[bot] Jan 8, 2026
4dce70c
codegen metadata
stainless-app[bot] Jan 8, 2026
0276be6
codegen metadata
stainless-app[bot] Jan 8, 2026
c7ede1d
codegen metadata
stainless-app[bot] Jan 8, 2026
ef937aa
codegen metadata
stainless-app[bot] Jan 8, 2026
878acbe
codegen metadata
stainless-app[bot] Jan 8, 2026
e455560
codegen metadata
stainless-app[bot] Jan 8, 2026
9910190
codegen metadata
stainless-app[bot] Jan 8, 2026
5343e9a
codegen metadata
stainless-app[bot] Jan 8, 2026
eca7432
codegen metadata
stainless-app[bot] Jan 8, 2026
1e9c9a8
codegen metadata
stainless-app[bot] Jan 8, 2026
1ef5891
codegen metadata
stainless-app[bot] Jan 8, 2026
9276fc7
codegen metadata
stainless-app[bot] Jan 8, 2026
d218ca6
codegen metadata
stainless-app[bot] Jan 8, 2026
de596b4
codegen metadata
stainless-app[bot] Jan 9, 2026
a31fff1
codegen metadata
stainless-app[bot] Jan 9, 2026
3af103a
codegen metadata
stainless-app[bot] Jan 9, 2026
020605b
codegen metadata
stainless-app[bot] Jan 9, 2026
ced805f
codegen metadata
stainless-app[bot] Jan 9, 2026
ba765eb
codegen metadata
stainless-app[bot] Jan 9, 2026
f1eea8a
codegen metadata
stainless-app[bot] Jan 9, 2026
0234640
codegen metadata
stainless-app[bot] Jan 9, 2026
d959824
codegen metadata
stainless-app[bot] Jan 9, 2026
3cfff36
codegen metadata
stainless-app[bot] Jan 9, 2026
4cc190a
codegen metadata
stainless-app[bot] Jan 9, 2026
42bf7c5
codegen metadata
stainless-app[bot] Jan 9, 2026
4c87d28
codegen metadata
stainless-app[bot] Jan 9, 2026
098a7fc
codegen metadata
stainless-app[bot] Jan 9, 2026
d7423d1
codegen metadata
stainless-app[bot] Jan 9, 2026
c3c2d35
codegen metadata
stainless-app[bot] Jan 9, 2026
e6ed219
codegen metadata
stainless-app[bot] Jan 9, 2026
1ee0c6c
codegen metadata
stainless-app[bot] Jan 9, 2026
e8b412d
codegen metadata
stainless-app[bot] Jan 9, 2026
9789e8a
codegen metadata
stainless-app[bot] Jan 9, 2026
d65a753
codegen metadata
stainless-app[bot] Jan 10, 2026
a8d3ed4
codegen metadata
stainless-app[bot] Jan 10, 2026
3e7e6a0
codegen metadata
stainless-app[bot] Jan 10, 2026
29b2e5b
codegen metadata
stainless-app[bot] Jan 10, 2026
c8ad541
codegen metadata
stainless-app[bot] Jan 10, 2026
3296ab3
codegen metadata
stainless-app[bot] Jan 10, 2026
77dc199
codegen metadata
stainless-app[bot] Jan 10, 2026
514b012
codegen metadata
stainless-app[bot] Jan 10, 2026
467bfc6
codegen metadata
stainless-app[bot] Jan 10, 2026
d2582de
codegen metadata
stainless-app[bot] Jan 10, 2026
62bcffb
codegen metadata
stainless-app[bot] Jan 10, 2026
7e6d9da
codegen metadata
stainless-app[bot] Jan 10, 2026
9579729
codegen metadata
stainless-app[bot] Jan 10, 2026
121024e
codegen metadata
stainless-app[bot] Jan 10, 2026
2d8210f
codegen metadata
stainless-app[bot] Jan 10, 2026
1482264
codegen metadata
stainless-app[bot] Jan 10, 2026
e7037be
codegen metadata
stainless-app[bot] Jan 10, 2026
ce3a1a6
codegen metadata
stainless-app[bot] Jan 10, 2026
380dd48
codegen metadata
stainless-app[bot] Jan 10, 2026
ed52274
codegen metadata
stainless-app[bot] Jan 10, 2026
526739d
codegen metadata
stainless-app[bot] Jan 11, 2026
77b5634
codegen metadata
stainless-app[bot] Jan 11, 2026
180e691
codegen metadata
stainless-app[bot] Jan 11, 2026
6867f09
codegen metadata
stainless-app[bot] Jan 11, 2026
3a7b418
codegen metadata
stainless-app[bot] Jan 11, 2026
79d35de
codegen metadata
stainless-app[bot] Jan 11, 2026
66c9427
codegen metadata
stainless-app[bot] Jan 11, 2026
1d063f8
codegen metadata
stainless-app[bot] Jan 11, 2026
5a8e4f9
codegen metadata
stainless-app[bot] Jan 11, 2026
a978829
codegen metadata
stainless-app[bot] Jan 11, 2026
48f4026
codegen metadata
stainless-app[bot] Jan 11, 2026
26d425f
codegen metadata
stainless-app[bot] Jan 11, 2026
cc03156
codegen metadata
stainless-app[bot] Jan 11, 2026
3f9ca5a
codegen metadata
stainless-app[bot] Jan 11, 2026
bbf19ad
codegen metadata
stainless-app[bot] Jan 11, 2026
15ffa1d
codegen metadata
stainless-app[bot] Jan 11, 2026
fe2f594
codegen metadata
stainless-app[bot] Jan 11, 2026
c6a815c
codegen metadata
stainless-app[bot] Jan 12, 2026
f462d75
codegen metadata
stainless-app[bot] Jan 12, 2026
c4e948a
codegen metadata
stainless-app[bot] Jan 12, 2026
727dc00
codegen metadata
stainless-app[bot] Jan 12, 2026
e837ed4
codegen metadata
stainless-app[bot] Jan 12, 2026
a852ca1
codegen metadata
stainless-app[bot] Jan 12, 2026
2d77cc2
codegen metadata
stainless-app[bot] Jan 12, 2026
beadfa3
codegen metadata
stainless-app[bot] Jan 12, 2026
f155e68
codegen metadata
stainless-app[bot] Jan 12, 2026
7cc223a
codegen metadata
stainless-app[bot] Jan 12, 2026
ac7433e
codegen metadata
stainless-app[bot] Jan 12, 2026
a91c3c3
codegen metadata
stainless-app[bot] Jan 12, 2026
c3d42e4
codegen metadata
stainless-app[bot] Jan 12, 2026
41ad636
codegen metadata
stainless-app[bot] Jan 12, 2026
061f366
codegen metadata
stainless-app[bot] Jan 12, 2026
8aa98fc
codegen metadata
stainless-app[bot] Jan 12, 2026
a28d96e
codegen metadata
stainless-app[bot] Jan 12, 2026
0b16f6f
codegen metadata
stainless-app[bot] Jan 12, 2026
2c0f5a3
codegen metadata
stainless-app[bot] Jan 12, 2026
a6a51b0
codegen metadata
stainless-app[bot] Jan 12, 2026
f9dd55c
release: 0.3.0
stainless-app[bot] Jan 12, 2026
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.0"
".": "0.3.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 5
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/tembo%2Ftembo-5fe090391ca60fa921541fe6f752600aa007cc5792e11f72d9ddd826d3fa1c6d.yml
openapi_spec_hash: 6ed695478549a2d1ef66fa823ab7b827
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/tembo%2Ftembo-cf2e306f7fce6f28d67a2bb2812319baa0c1e5ae9092a65a404c78a3a99eed8a.yml
openapi_spec_hash: 1ffe550a4ca9c58bbff4b4cd4d8fc518
config_hash: 8fba1d45a848bce88e9564ab8a960838
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.3.0 (2026-01-12)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/tembo/sdk-python/compare/v0.2.0...v0.3.0)

### Features

* **api:** api update ([21a1a2b](https://github.com/tembo/sdk-python/commit/21a1a2b996a404bafb6b32f711ec95d1fc061a4d))

## 0.2.0 (2026-01-05)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/tembo/sdk-python/compare/v0.1.0...v0.2.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "tembo-sdk-python"
version = "0.2.0"
version = "0.3.0"
description = "The official Python library for the tembo API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/tembo/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "tembo"
__version__ = "0.2.0" # x-release-please-version
__version__ = "0.3.0" # x-release-please-version
20 changes: 14 additions & 6 deletions src/tembo/resources/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ def create(
self,
*,
agent: str | Omit = omit,
branch: Optional[str] | Omit = omit,
branch_name: Optional[str] | Omit = omit,
prompt: str | Omit = omit,
queue_right_away: Optional[bool] | Omit = omit,
repositories: SequenceNotStr[str] | Omit = omit,
target_branch: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -66,7 +67,7 @@ def create(
Args:
agent: The agent to use for this task

branch: Specific git branch to target for this task
branch_name: The branch name to use for the work

prompt: Description of the task to be performed. Supports tagging files.

Expand All @@ -75,6 +76,8 @@ def create(

repositories: Array of code repository urls that this task relates to

target_branch: The branch to open the pull request against (e.g. main, develop)

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -88,10 +91,11 @@ def create(
body=maybe_transform(
{
"agent": agent,
"branch": branch,
"branch_name": branch_name,
"prompt": prompt,
"queue_right_away": queue_right_away,
"repositories": repositories,
"target_branch": target_branch,
},
task_create_params.TaskCreateParams,
),
Expand Down Expand Up @@ -222,10 +226,11 @@ async def create(
self,
*,
agent: str | Omit = omit,
branch: Optional[str] | Omit = omit,
branch_name: Optional[str] | Omit = omit,
prompt: str | Omit = omit,
queue_right_away: Optional[bool] | Omit = omit,
repositories: SequenceNotStr[str] | Omit = omit,
target_branch: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand All @@ -239,7 +244,7 @@ async def create(
Args:
agent: The agent to use for this task

branch: Specific git branch to target for this task
branch_name: The branch name to use for the work

prompt: Description of the task to be performed. Supports tagging files.

Expand All @@ -248,6 +253,8 @@ async def create(

repositories: Array of code repository urls that this task relates to

target_branch: The branch to open the pull request against (e.g. main, develop)

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand All @@ -261,10 +268,11 @@ async def create(
body=await async_maybe_transform(
{
"agent": agent,
"branch": branch,
"branch_name": branch_name,
"prompt": prompt,
"queue_right_away": queue_right_away,
"repositories": repositories,
"target_branch": target_branch,
},
task_create_params.TaskCreateParams,
),
Expand Down
7 changes: 5 additions & 2 deletions src/tembo/types/task_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class TaskCreateParams(TypedDict, total=False):
agent: str
"""The agent to use for this task"""

branch: Optional[str]
"""Specific git branch to target for this task"""
branch_name: Annotated[Optional[str], PropertyInfo(alias="branchName")]
"""The branch name to use for the work"""

prompt: str
"""Description of the task to be performed. Supports tagging files."""
Expand All @@ -29,3 +29,6 @@ class TaskCreateParams(TypedDict, total=False):

repositories: SequenceNotStr[str]
"""Array of code repository urls that this task relates to"""

target_branch: Annotated[Optional[str], PropertyInfo(alias="targetBranch")]
"""The branch to open the pull request against (e.g. main, develop)"""
6 changes: 4 additions & 2 deletions tests/api_resources/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ def test_method_create(self, client: Tembo) -> None:
def test_method_create_with_all_params(self, client: Tembo) -> None:
task = client.task.create(
agent="claudeCode:claude-4-5-sonnet",
branch="feature/auth-fix",
branch_name="feature/auth-fix",
prompt="Fix the authentication bug in the login component",
queue_right_away=False,
repositories=["https://github.com/org/repo", "https://gitlab.com/org/repo-2"],
target_branch="main",
)
assert_matches_type(TaskCreateResponse, task, path=["response"])

Expand Down Expand Up @@ -159,10 +160,11 @@ async def test_method_create(self, async_client: AsyncTembo) -> None:
async def test_method_create_with_all_params(self, async_client: AsyncTembo) -> None:
task = await async_client.task.create(
agent="claudeCode:claude-4-5-sonnet",
branch="feature/auth-fix",
branch_name="feature/auth-fix",
prompt="Fix the authentication bug in the login component",
queue_right_away=False,
repositories=["https://github.com/org/repo", "https://gitlab.com/org/repo-2"],
target_branch="main",
)
assert_matches_type(TaskCreateResponse, task, path=["response"])

Expand Down