-
Notifications
You must be signed in to change notification settings - Fork 2
release: 1.1.0 #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
release: 1.1.0 #265
Changes from all commits
72f3d05
d167e2d
4c8fd78
10a541d
8fef561
b3523db
216baf6
f241bf6
d0ec2d9
153c4ba
c287c24
c4be5ae
eb27c60
bf7bbdd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "1.0.0" | ||
| ".": "1.1.0" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| configured_endpoints: 51 | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-68449c5f406b2b3bc2b94ef7f94c47b3724aa0a69e1033bef1a84477f79420f5.yml | ||
| openapi_spec_hash: 2b6de88d9a14a977a66f37c066d0b47a | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-0f4c537661b6b41d8a474988d30d94b16886f6969589c8c86e13f6dac8c54d72.yml | ||
| openapi_spec_hash: f585ba82e9ab6363aa405fa685c12db8 | ||
| config_hash: fb2cfcdc5ef83ff03407a8b66c26a59b |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [project] | ||
| name = "mixedbread" | ||
| version = "1.0.0" | ||
| version = "1.1.0" | ||
| description = "The official Python library for the Mixedbread API" | ||
| dynamic = ["readme"] | ||
| license = "Apache-2.0" | ||
|
|
@@ -69,7 +69,7 @@ format = { chain = [ | |
| # run formatting again to fix any inconsistencies when imports are stripped | ||
| "format:ruff", | ||
| ]} | ||
| "format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md" | ||
| "format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unquoted find expansion breaks doc formattingLow Severity
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Find command searches through excluded directoriesLow Severity The |
||
| "format:ruff" = "ruff format" | ||
|
|
||
| "lint" = { chain = [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| import json | ||
| import inspect | ||
| from types import TracebackType | ||
| from typing import TYPE_CHECKING, Any, Generic, TypeVar, Iterator, AsyncIterator, cast | ||
| from typing import TYPE_CHECKING, Any, Generic, TypeVar, Iterator, Optional, AsyncIterator, cast | ||
| from typing_extensions import Self, Protocol, TypeGuard, override, get_origin, runtime_checkable | ||
|
|
||
| import httpx | ||
|
|
@@ -13,6 +13,7 @@ | |
|
|
||
| if TYPE_CHECKING: | ||
| from ._client import Mixedbread, AsyncMixedbread | ||
| from ._models import FinalRequestOptions | ||
|
|
||
|
|
||
| _T = TypeVar("_T") | ||
|
|
@@ -22,7 +23,7 @@ class Stream(Generic[_T]): | |
| """Provides the core interface to iterate over a synchronous stream response.""" | ||
|
|
||
| response: httpx.Response | ||
|
|
||
| _options: Optional[FinalRequestOptions] = None | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unused options field in Stream classesLow Severity The Additional Locations (1) |
||
| _decoder: SSEBytesDecoder | ||
|
|
||
| def __init__( | ||
|
|
@@ -31,10 +32,12 @@ def __init__( | |
| cast_to: type[_T], | ||
| response: httpx.Response, | ||
| client: Mixedbread, | ||
| options: Optional[FinalRequestOptions] = None, | ||
| ) -> None: | ||
| self.response = response | ||
| self._cast_to = cast_to | ||
| self._client = client | ||
| self._options = options | ||
| self._decoder = client._make_sse_decoder() | ||
| self._iterator = self.__stream__() | ||
|
|
||
|
|
@@ -85,7 +88,7 @@ class AsyncStream(Generic[_T]): | |
| """Provides the core interface to iterate over an asynchronous stream response.""" | ||
|
|
||
| response: httpx.Response | ||
|
|
||
| _options: Optional[FinalRequestOptions] = None | ||
| _decoder: SSEDecoder | SSEBytesDecoder | ||
|
|
||
| def __init__( | ||
|
|
@@ -94,10 +97,12 @@ def __init__( | |
| cast_to: type[_T], | ||
| response: httpx.Response, | ||
| client: AsyncMixedbread, | ||
| options: Optional[FinalRequestOptions] = None, | ||
| ) -> None: | ||
| self.response = response | ||
| self._cast_to = cast_to | ||
| self._client = client | ||
| self._options = options | ||
| self._decoder = client._make_sse_decoder() | ||
| self._iterator = self.__stream__() | ||
|
|
||
|
|
||
| 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__ = "1.0.0" # x-release-please-version | ||
| __version__ = "1.1.0" # x-release-please-version |


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs formatter script path is wrong
Medium Severity
The
format:docsRye script callspython scripts/utils/ruffen-docs.py, but the repository containsscripts/utils/ruffen-docs.py. This typo makesrye run format:docsfail at runtime, breaking the formatting workflow used by./scripts/format.