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
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.14.0"
".": "0.15.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-7361ed078e7c394c7cb1da4a3e2f3417d4498de5eea648cf9d3caaa0ddf85f78.yml
openapi_spec_hash: 4ae67ffa9040c2d5a87026df79c1feaf
config_hash: 6098ac28bc4ec5be0c546035a5d81394
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-fe968780e87b8a5ff65ea009ade00fb0e27e951f7ce16d39a2ae0957740add45.yml
openapi_spec_hash: 9a29ae1bb05df2061e321b0d1adef675
config_hash: e4d40031e9232e8e6c16e73430b7f535
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.15.0 (2025-06-30)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.14.0...v0.15.0)

### Features

* **api:** api update ([cff0ed5](https://github.com/mixedbread-ai/mixedbread-python/commit/cff0ed51623d5cf3cecc3f0e93a83414b6177f2b))

## 0.14.0 (2025-06-30)

Full Changelog: [v0.13.2...v0.14.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.13.2...v0.14.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 = "mixedbread"
version = "0.14.0"
version = "0.15.0"
description = "The official Python library for the Mixedbread API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/mixedbread/_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__ = "mixedbread"
__version__ = "0.14.0" # x-release-please-version
__version__ = "0.15.0" # x-release-please-version
32 changes: 22 additions & 10 deletions src/mixedbread/resources/data_sources/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def list(
data_source_id: str,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
# 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.
Expand All @@ -257,11 +258,15 @@ def list(
Args:
data_source_id: The ID of the data source to get connectors for

limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

cursor: Cursor for pagination (base64 encoded cursor)
after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

include_total: Whether to include the total number of items
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include total count in response (expensive operation)

extra_headers: Send extra headers

Expand All @@ -283,7 +288,8 @@ def list(
query=maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
},
connector_list_params.ConnectorListParams,
Expand Down Expand Up @@ -550,7 +556,8 @@ async def list(
data_source_id: str,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
# 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.
Expand All @@ -570,11 +577,15 @@ async def list(
Args:
data_source_id: The ID of the data source to get connectors for

limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

cursor: Cursor for pagination (base64 encoded cursor)
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include the total number of items
include_total: Whether to include total count in response (expensive operation)

extra_headers: Send extra headers

Expand All @@ -596,7 +607,8 @@ async def list(
query=await async_maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
},
connector_list_params.ConnectorListParams,
Expand Down
32 changes: 22 additions & 10 deletions src/mixedbread/resources/data_sources/data_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
# 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.
Expand All @@ -371,11 +372,15 @@ def list(
Returns: The list of data sources.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

cursor: Cursor for pagination (base64 encoded cursor)
after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

include_total: Whether to include the total number of items
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include total count in response (expensive operation)

extra_headers: Send extra headers

Expand All @@ -395,7 +400,8 @@ def list(
query=maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
},
data_source_list_params.DataSourceListParams,
Expand Down Expand Up @@ -756,7 +762,8 @@ async def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
# 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.
Expand All @@ -771,11 +778,15 @@ async def list(
Returns: The list of data sources.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

cursor: Cursor for pagination (base64 encoded cursor)
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include the total number of items
include_total: Whether to include total count in response (expensive operation)

extra_headers: Send extra headers

Expand All @@ -795,7 +806,8 @@ async def list(
query=await async_maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
},
data_source_list_params.DataSourceListParams,
Expand Down
40 changes: 30 additions & 10 deletions src/mixedbread/resources/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
q: Optional[str] | NotGiven = NOT_GIVEN,
# 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 @@ -208,11 +210,17 @@ def list(
Returns: A list of files belonging to the user.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

cursor: Cursor for pagination (base64 encoded cursor)
after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

include_total: Whether to include the total number of items
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include total count in response (expensive operation)

q: Search query for fuzzy matching over name and description fields

extra_headers: Send extra headers

Expand All @@ -232,8 +240,10 @@ def list(
query=maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
"q": q,
},
file_list_params.FileListParams,
),
Expand Down Expand Up @@ -479,8 +489,10 @@ async def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
q: Optional[str] | NotGiven = NOT_GIVEN,
# 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 @@ -496,11 +508,17 @@ async def list(
Returns: A list of files belonging to the user.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

cursor: Cursor for pagination (base64 encoded cursor)
include_total: Whether to include total count in response (expensive operation)

include_total: Whether to include the total number of items
q: Search query for fuzzy matching over name and description fields

extra_headers: Send extra headers

Expand All @@ -520,8 +538,10 @@ async def list(
query=await async_maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
"q": q,
},
file_list_params.FileListParams,
),
Expand Down
41 changes: 31 additions & 10 deletions src/mixedbread/resources/parsing/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from ...types.parsing.return_format import ReturnFormat
from ...types.parsing.chunking_strategy import ChunkingStrategy
from ...types.parsing.job_list_response import JobListResponse
from ...types.parsing.parsing_job_status import ParsingJobStatus
from ...types.parsing.job_delete_response import JobDeleteResponse

__all__ = ["JobsResource", "AsyncJobsResource"]
Expand Down Expand Up @@ -153,8 +154,10 @@ def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
statuses: Optional[List[ParsingJobStatus]] | NotGiven = NOT_GIVEN,
# 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 @@ -171,11 +174,17 @@ def list(
Returns: List of parsing jobs with pagination.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

cursor: Cursor for pagination (base64 encoded cursor)
after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

include_total: Whether to include the total number of items
before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

include_total: Whether to include total count in response (expensive operation)

statuses: Status to filter by

extra_headers: Send extra headers

Expand All @@ -195,8 +204,10 @@ def list(
query=maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
"statuses": statuses,
},
job_list_params.JobListParams,
),
Expand Down Expand Up @@ -562,8 +573,10 @@ async def list(
self,
*,
limit: int | NotGiven = NOT_GIVEN,
cursor: Optional[str] | NotGiven = NOT_GIVEN,
after: Optional[str] | NotGiven = NOT_GIVEN,
before: Optional[str] | NotGiven = NOT_GIVEN,
include_total: bool | NotGiven = NOT_GIVEN,
statuses: Optional[List[ParsingJobStatus]] | NotGiven = NOT_GIVEN,
# 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 @@ -580,11 +593,17 @@ async def list(
Returns: List of parsing jobs with pagination.

Args:
limit: Maximum number of items to return per page
limit: Maximum number of items to return per page (1-100)

after: Cursor for forward pagination - get items after this position. Use last_cursor
from previous response.

before: Cursor for backward pagination - get items before this position. Use
first_cursor from previous response.

cursor: Cursor for pagination (base64 encoded cursor)
include_total: Whether to include total count in response (expensive operation)

include_total: Whether to include the total number of items
statuses: Status to filter by

extra_headers: Send extra headers

Expand All @@ -604,8 +623,10 @@ async def list(
query=await async_maybe_transform(
{
"limit": limit,
"cursor": cursor,
"after": after,
"before": before,
"include_total": include_total,
"statuses": statuses,
},
job_list_params.JobListParams,
),
Expand Down
Loading