Skip to content

Commit e8992d4

Browse files
feat(api): api update
1 parent 52df74d commit e8992d4

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 16
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-f6fec0ae4fa4572aefa111e660f98f6acfb6149c22cbd413bd3defad6c100478.yml
3-
openapi_spec_hash: a82bf07982eae3814e8a60eb368e0ce5
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/brand-dev%2Fbrand.dev-ec0e897d65bee0947046681fd3cd465ee5b44c98b020594736fb9f274ee2c00b.yml
3+
openapi_spec_hash: 9c76eb4b912f046fc93a030b9a7489a3
44
config_hash: c3aaaa9794dba44d524c06591ab17894

tests/api_resources/test_brand.py

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_method_retrieve_with_all_params(self, client: BrandDev) -> None:
4949
domain="domain",
5050
force_language="albanian",
5151
max_speed=True,
52-
timeout_ms=1,
52+
timeout_ms=1000,
5353
)
5454
assert_matches_type(BrandRetrieveResponse, brand, path=["response"])
5555

@@ -92,7 +92,7 @@ def test_method_ai_product(self, client: BrandDev) -> None:
9292
def test_method_ai_product_with_all_params(self, client: BrandDev) -> None:
9393
brand = client.brand.ai_product(
9494
url="https://example.com",
95-
timeout_ms=1,
95+
timeout_ms=1000,
9696
)
9797
assert_matches_type(BrandAIProductResponse, brand, path=["response"])
9898

@@ -136,7 +136,7 @@ def test_method_ai_products_with_all_params_overload_1(self, client: BrandDev) -
136136
brand = client.brand.ai_products(
137137
domain="domain",
138138
max_products=1,
139-
timeout_ms=1,
139+
timeout_ms=1000,
140140
)
141141
assert_matches_type(BrandAIProductsResponse, brand, path=["response"])
142142

@@ -180,7 +180,7 @@ def test_method_ai_products_with_all_params_overload_2(self, client: BrandDev) -
180180
brand = client.brand.ai_products(
181181
direct_url="https://example.com",
182182
max_products=1,
183-
timeout_ms=1,
183+
timeout_ms=1000,
184184
)
185185
assert_matches_type(BrandAIProductsResponse, brand, path=["response"])
186186

@@ -255,7 +255,7 @@ def test_method_ai_query_with_all_params(self, client: BrandDev) -> None:
255255
"privacy_policy": True,
256256
"terms_and_conditions": True,
257257
},
258-
timeout_ms=1,
258+
timeout_ms=1000,
259259
)
260260
assert_matches_type(BrandAIQueryResponse, brand, path=["response"])
261261

@@ -314,7 +314,7 @@ def test_method_fonts(self, client: BrandDev) -> None:
314314
def test_method_fonts_with_all_params(self, client: BrandDev) -> None:
315315
brand = client.brand.fonts(
316316
domain="domain",
317-
timeout_ms=1,
317+
timeout_ms=1000,
318318
)
319319
assert_matches_type(BrandFontsResponse, brand, path=["response"])
320320

@@ -363,7 +363,7 @@ def test_method_identify_from_transaction_with_all_params(self, client: BrandDev
363363
max_speed=True,
364364
mcc="mcc",
365365
phone=0,
366-
timeout_ms=1,
366+
timeout_ms=1000,
367367
)
368368
assert_matches_type(BrandIdentifyFromTransactionResponse, brand, path=["response"])
369369

@@ -406,7 +406,7 @@ def test_method_prefetch(self, client: BrandDev) -> None:
406406
def test_method_prefetch_with_all_params(self, client: BrandDev) -> None:
407407
brand = client.brand.prefetch(
408408
domain="domain",
409-
timeout_ms=1,
409+
timeout_ms=1000,
410410
)
411411
assert_matches_type(BrandPrefetchResponse, brand, path=["response"])
412412

@@ -449,7 +449,7 @@ def test_method_prefetch_by_email(self, client: BrandDev) -> None:
449449
def test_method_prefetch_by_email_with_all_params(self, client: BrandDev) -> None:
450450
brand = client.brand.prefetch_by_email(
451451
email="dev@stainless.com",
452-
timeout_ms=1,
452+
timeout_ms=1000,
453453
)
454454
assert_matches_type(BrandPrefetchByEmailResponse, brand, path=["response"])
455455

@@ -494,7 +494,7 @@ def test_method_retrieve_by_email_with_all_params(self, client: BrandDev) -> Non
494494
email="dev@stainless.com",
495495
force_language="albanian",
496496
max_speed=True,
497-
timeout_ms=1,
497+
timeout_ms=1000,
498498
)
499499
assert_matches_type(BrandRetrieveByEmailResponse, brand, path=["response"])
500500

@@ -539,7 +539,7 @@ def test_method_retrieve_by_isin_with_all_params(self, client: BrandDev) -> None
539539
isin="SE60513A9993",
540540
force_language="albanian",
541541
max_speed=True,
542-
timeout_ms=1,
542+
timeout_ms=1000,
543543
)
544544
assert_matches_type(BrandRetrieveByIsinResponse, brand, path=["response"])
545545

@@ -584,7 +584,7 @@ def test_method_retrieve_by_name_with_all_params(self, client: BrandDev) -> None
584584
name="xxx",
585585
force_language="albanian",
586586
max_speed=True,
587-
timeout_ms=1,
587+
timeout_ms=1000,
588588
)
589589
assert_matches_type(BrandRetrieveByNameResponse, brand, path=["response"])
590590

@@ -630,7 +630,7 @@ def test_method_retrieve_by_ticker_with_all_params(self, client: BrandDev) -> No
630630
force_language="albanian",
631631
max_speed=True,
632632
ticker_exchange="AMEX",
633-
timeout_ms=1,
633+
timeout_ms=1000,
634634
)
635635
assert_matches_type(BrandRetrieveByTickerResponse, brand, path=["response"])
636636

@@ -675,7 +675,7 @@ def test_method_retrieve_naics_with_all_params(self, client: BrandDev) -> None:
675675
input="input",
676676
max_results=1,
677677
min_results=1,
678-
timeout_ms=1,
678+
timeout_ms=1000,
679679
)
680680
assert_matches_type(BrandRetrieveNaicsResponse, brand, path=["response"])
681681

@@ -718,7 +718,7 @@ def test_method_retrieve_simplified(self, client: BrandDev) -> None:
718718
def test_method_retrieve_simplified_with_all_params(self, client: BrandDev) -> None:
719719
brand = client.brand.retrieve_simplified(
720720
domain="domain",
721-
timeout_ms=1,
721+
timeout_ms=1000,
722722
)
723723
assert_matches_type(BrandRetrieveSimplifiedResponse, brand, path=["response"])
724724

@@ -807,7 +807,7 @@ def test_method_styleguide_with_all_params(self, client: BrandDev) -> None:
807807
brand = client.brand.styleguide(
808808
domain="domain",
809809
prioritize="speed",
810-
timeout_ms=1,
810+
timeout_ms=1000,
811811
)
812812
assert_matches_type(BrandStyleguideResponse, brand, path=["response"])
813813

@@ -858,7 +858,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncBrandDev
858858
domain="domain",
859859
force_language="albanian",
860860
max_speed=True,
861-
timeout_ms=1,
861+
timeout_ms=1000,
862862
)
863863
assert_matches_type(BrandRetrieveResponse, brand, path=["response"])
864864

@@ -901,7 +901,7 @@ async def test_method_ai_product(self, async_client: AsyncBrandDev) -> None:
901901
async def test_method_ai_product_with_all_params(self, async_client: AsyncBrandDev) -> None:
902902
brand = await async_client.brand.ai_product(
903903
url="https://example.com",
904-
timeout_ms=1,
904+
timeout_ms=1000,
905905
)
906906
assert_matches_type(BrandAIProductResponse, brand, path=["response"])
907907

@@ -945,7 +945,7 @@ async def test_method_ai_products_with_all_params_overload_1(self, async_client:
945945
brand = await async_client.brand.ai_products(
946946
domain="domain",
947947
max_products=1,
948-
timeout_ms=1,
948+
timeout_ms=1000,
949949
)
950950
assert_matches_type(BrandAIProductsResponse, brand, path=["response"])
951951

@@ -989,7 +989,7 @@ async def test_method_ai_products_with_all_params_overload_2(self, async_client:
989989
brand = await async_client.brand.ai_products(
990990
direct_url="https://example.com",
991991
max_products=1,
992-
timeout_ms=1,
992+
timeout_ms=1000,
993993
)
994994
assert_matches_type(BrandAIProductsResponse, brand, path=["response"])
995995

@@ -1064,7 +1064,7 @@ async def test_method_ai_query_with_all_params(self, async_client: AsyncBrandDev
10641064
"privacy_policy": True,
10651065
"terms_and_conditions": True,
10661066
},
1067-
timeout_ms=1,
1067+
timeout_ms=1000,
10681068
)
10691069
assert_matches_type(BrandAIQueryResponse, brand, path=["response"])
10701070

@@ -1123,7 +1123,7 @@ async def test_method_fonts(self, async_client: AsyncBrandDev) -> None:
11231123
async def test_method_fonts_with_all_params(self, async_client: AsyncBrandDev) -> None:
11241124
brand = await async_client.brand.fonts(
11251125
domain="domain",
1126-
timeout_ms=1,
1126+
timeout_ms=1000,
11271127
)
11281128
assert_matches_type(BrandFontsResponse, brand, path=["response"])
11291129

@@ -1172,7 +1172,7 @@ async def test_method_identify_from_transaction_with_all_params(self, async_clie
11721172
max_speed=True,
11731173
mcc="mcc",
11741174
phone=0,
1175-
timeout_ms=1,
1175+
timeout_ms=1000,
11761176
)
11771177
assert_matches_type(BrandIdentifyFromTransactionResponse, brand, path=["response"])
11781178

@@ -1215,7 +1215,7 @@ async def test_method_prefetch(self, async_client: AsyncBrandDev) -> None:
12151215
async def test_method_prefetch_with_all_params(self, async_client: AsyncBrandDev) -> None:
12161216
brand = await async_client.brand.prefetch(
12171217
domain="domain",
1218-
timeout_ms=1,
1218+
timeout_ms=1000,
12191219
)
12201220
assert_matches_type(BrandPrefetchResponse, brand, path=["response"])
12211221

@@ -1258,7 +1258,7 @@ async def test_method_prefetch_by_email(self, async_client: AsyncBrandDev) -> No
12581258
async def test_method_prefetch_by_email_with_all_params(self, async_client: AsyncBrandDev) -> None:
12591259
brand = await async_client.brand.prefetch_by_email(
12601260
email="dev@stainless.com",
1261-
timeout_ms=1,
1261+
timeout_ms=1000,
12621262
)
12631263
assert_matches_type(BrandPrefetchByEmailResponse, brand, path=["response"])
12641264

@@ -1303,7 +1303,7 @@ async def test_method_retrieve_by_email_with_all_params(self, async_client: Asyn
13031303
email="dev@stainless.com",
13041304
force_language="albanian",
13051305
max_speed=True,
1306-
timeout_ms=1,
1306+
timeout_ms=1000,
13071307
)
13081308
assert_matches_type(BrandRetrieveByEmailResponse, brand, path=["response"])
13091309

@@ -1348,7 +1348,7 @@ async def test_method_retrieve_by_isin_with_all_params(self, async_client: Async
13481348
isin="SE60513A9993",
13491349
force_language="albanian",
13501350
max_speed=True,
1351-
timeout_ms=1,
1351+
timeout_ms=1000,
13521352
)
13531353
assert_matches_type(BrandRetrieveByIsinResponse, brand, path=["response"])
13541354

@@ -1393,7 +1393,7 @@ async def test_method_retrieve_by_name_with_all_params(self, async_client: Async
13931393
name="xxx",
13941394
force_language="albanian",
13951395
max_speed=True,
1396-
timeout_ms=1,
1396+
timeout_ms=1000,
13971397
)
13981398
assert_matches_type(BrandRetrieveByNameResponse, brand, path=["response"])
13991399

@@ -1439,7 +1439,7 @@ async def test_method_retrieve_by_ticker_with_all_params(self, async_client: Asy
14391439
force_language="albanian",
14401440
max_speed=True,
14411441
ticker_exchange="AMEX",
1442-
timeout_ms=1,
1442+
timeout_ms=1000,
14431443
)
14441444
assert_matches_type(BrandRetrieveByTickerResponse, brand, path=["response"])
14451445

@@ -1484,7 +1484,7 @@ async def test_method_retrieve_naics_with_all_params(self, async_client: AsyncBr
14841484
input="input",
14851485
max_results=1,
14861486
min_results=1,
1487-
timeout_ms=1,
1487+
timeout_ms=1000,
14881488
)
14891489
assert_matches_type(BrandRetrieveNaicsResponse, brand, path=["response"])
14901490

@@ -1527,7 +1527,7 @@ async def test_method_retrieve_simplified(self, async_client: AsyncBrandDev) ->
15271527
async def test_method_retrieve_simplified_with_all_params(self, async_client: AsyncBrandDev) -> None:
15281528
brand = await async_client.brand.retrieve_simplified(
15291529
domain="domain",
1530-
timeout_ms=1,
1530+
timeout_ms=1000,
15311531
)
15321532
assert_matches_type(BrandRetrieveSimplifiedResponse, brand, path=["response"])
15331533

@@ -1616,7 +1616,7 @@ async def test_method_styleguide_with_all_params(self, async_client: AsyncBrandD
16161616
brand = await async_client.brand.styleguide(
16171617
domain="domain",
16181618
prioritize="speed",
1619-
timeout_ms=1,
1619+
timeout_ms=1000,
16201620
)
16211621
assert_matches_type(BrandStyleguideResponse, brand, path=["response"])
16221622

0 commit comments

Comments
 (0)