Skip to content

Commit f0c03e6

Browse files
authored
Merge pull request #5 from brand-dot-dev/release-please--branches--main--changes--next
release: 1.3.0
2 parents 8050e39 + 042b7d3 commit f0c03e6

File tree

8 files changed

+38
-6
lines changed

8 files changed

+38
-6
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.2.0"
2+
".": "1.3.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-1f1bc5d70a89b56425a3bafbc06a80c233300b5d5d64438aa633597085a45974.yml
3-
openapi_spec_hash: e87e758c5f59476e0ec486fa59455d60
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-194e1804daeb0a1bcd2443be8893ab999d428dcacaab17cf355097942627439a.yml
3+
openapi_spec_hash: de3391b2db78e2fb0aaa03d30ec9a0f3
44
config_hash: bb3f3ba0dca413263e40968648f9a1a6

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.3.0 (2025-06-06)
4+
5+
Full Changelog: [v1.2.0...v1.3.0](https://github.com/brand-dot-dev/python-sdk/compare/v1.2.0...v1.3.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([bb1bf90](https://github.com/brand-dot-dev/python-sdk/commit/bb1bf90daf24a834121f2656741b1bce3e611588))
10+
311
## 1.2.0 (2025-06-06)
412

513
Full Changelog: [v1.1.0...v1.2.0](https://github.com/brand-dot-dev/python-sdk/compare/v1.1.0...v1.2.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "brand.dev"
3-
version = "1.2.0"
3+
version = "1.3.0"
44
description = "The official Python library for the brand.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/brand/dev/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "brand.dev"
4-
__version__ = "1.2.0" # x-release-please-version
4+
__version__ = "1.3.0" # x-release-please-version

src/brand/dev/resources/brand.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def retrieve(
117117
"welsh",
118118
]
119119
| NotGiven = NOT_GIVEN,
120+
max_speed: bool | NotGiven = NOT_GIVEN,
120121
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
121122
# The extra values given here take precedence over values defined on the client or passed to this method.
122123
extra_headers: Headers | None = None,
@@ -132,6 +133,10 @@ def retrieve(
132133
133134
force_language: Optional parameter to force the language of the retrieved brand data
134135
136+
max_speed: Optional parameter to optimize the API call for maximum speed. When set to true,
137+
the API will skip social media data extraction and external service calls (like
138+
Crunchbase) to return results faster with basic brand information only.
139+
135140
extra_headers: Send extra headers
136141
137142
extra_query: Add additional query parameters to the request
@@ -151,6 +156,7 @@ def retrieve(
151156
{
152157
"domain": domain,
153158
"force_language": force_language,
159+
"max_speed": max_speed,
154160
},
155161
brand_retrieve_params.BrandRetrieveParams,
156162
),
@@ -480,6 +486,7 @@ async def retrieve(
480486
"welsh",
481487
]
482488
| NotGiven = NOT_GIVEN,
489+
max_speed: bool | NotGiven = NOT_GIVEN,
483490
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
484491
# The extra values given here take precedence over values defined on the client or passed to this method.
485492
extra_headers: Headers | None = None,
@@ -495,6 +502,10 @@ async def retrieve(
495502
496503
force_language: Optional parameter to force the language of the retrieved brand data
497504
505+
max_speed: Optional parameter to optimize the API call for maximum speed. When set to true,
506+
the API will skip social media data extraction and external service calls (like
507+
Crunchbase) to return results faster with basic brand information only.
508+
498509
extra_headers: Send extra headers
499510
500511
extra_query: Add additional query parameters to the request
@@ -514,6 +525,7 @@ async def retrieve(
514525
{
515526
"domain": domain,
516527
"force_language": force_language,
528+
"max_speed": max_speed,
517529
},
518530
brand_retrieve_params.BrandRetrieveParams,
519531
),

src/brand/dev/types/brand_retrieve_params.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Literal, Required, TypedDict
5+
from typing_extensions import Literal, Required, Annotated, TypedDict
6+
7+
from .._utils import PropertyInfo
68

79
__all__ = ["BrandRetrieveParams"]
810

@@ -66,3 +68,11 @@ class BrandRetrieveParams(TypedDict, total=False):
6668
"welsh",
6769
]
6870
"""Optional parameter to force the language of the retrieved brand data"""
71+
72+
max_speed: Annotated[bool, PropertyInfo(alias="maxSpeed")]
73+
"""Optional parameter to optimize the API call for maximum speed.
74+
75+
When set to true, the API will skip social media data extraction and external
76+
service calls (like Crunchbase) to return results faster with basic brand
77+
information only.
78+
"""

tests/api_resources/test_brand.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def test_method_retrieve_with_all_params(self, client: BrandDev) -> None:
3939
brand = client.brand.retrieve(
4040
domain="domain",
4141
force_language="albanian",
42+
max_speed=True,
4243
)
4344
assert_matches_type(BrandRetrieveResponse, brand, path=["response"])
4445

@@ -340,6 +341,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncBrandDev
340341
brand = await async_client.brand.retrieve(
341342
domain="domain",
342343
force_language="albanian",
344+
max_speed=True,
343345
)
344346
assert_matches_type(BrandRetrieveResponse, brand, path=["response"])
345347

0 commit comments

Comments
 (0)