@@ -21,7 +21,7 @@ class TestUtility:
2121 @parametrize
2222 def test_method_prefetch (self , client : ContextDev ) -> None :
2323 utility = client .utility .prefetch (
24- identifier = {},
24+ identifier = {"domain" : "domain" },
2525 type = "brand" ,
2626 )
2727 assert_matches_type (UtilityPrefetchResponse , utility , path = ["response" ])
@@ -30,10 +30,7 @@ def test_method_prefetch(self, client: ContextDev) -> None:
3030 @parametrize
3131 def test_method_prefetch_with_all_params (self , client : ContextDev ) -> None :
3232 utility = client .utility .prefetch (
33- identifier = {
34- "domain" : "domain" ,
35- "email" : "dev@stainless.com" ,
36- },
33+ identifier = {"domain" : "domain" },
3734 type = "brand" ,
3835 timeout_ms = 1000 ,
3936 )
@@ -43,7 +40,7 @@ def test_method_prefetch_with_all_params(self, client: ContextDev) -> None:
4340 @parametrize
4441 def test_raw_response_prefetch (self , client : ContextDev ) -> None :
4542 response = client .utility .with_raw_response .prefetch (
46- identifier = {},
43+ identifier = {"domain" : "domain" },
4744 type = "brand" ,
4845 )
4946
@@ -56,7 +53,7 @@ def test_raw_response_prefetch(self, client: ContextDev) -> None:
5653 @parametrize
5754 def test_streaming_response_prefetch (self , client : ContextDev ) -> None :
5855 with client .utility .with_streaming_response .prefetch (
59- identifier = {},
56+ identifier = {"domain" : "domain" },
6057 type = "brand" ,
6158 ) as response :
6259 assert not response .is_closed
@@ -77,7 +74,7 @@ class TestAsyncUtility:
7774 @parametrize
7875 async def test_method_prefetch (self , async_client : AsyncContextDev ) -> None :
7976 utility = await async_client .utility .prefetch (
80- identifier = {},
77+ identifier = {"domain" : "domain" },
8178 type = "brand" ,
8279 )
8380 assert_matches_type (UtilityPrefetchResponse , utility , path = ["response" ])
@@ -86,10 +83,7 @@ async def test_method_prefetch(self, async_client: AsyncContextDev) -> None:
8683 @parametrize
8784 async def test_method_prefetch_with_all_params (self , async_client : AsyncContextDev ) -> None :
8885 utility = await async_client .utility .prefetch (
89- identifier = {
90- "domain" : "domain" ,
91- "email" : "dev@stainless.com" ,
92- },
86+ identifier = {"domain" : "domain" },
9387 type = "brand" ,
9488 timeout_ms = 1000 ,
9589 )
@@ -99,7 +93,7 @@ async def test_method_prefetch_with_all_params(self, async_client: AsyncContextD
9993 @parametrize
10094 async def test_raw_response_prefetch (self , async_client : AsyncContextDev ) -> None :
10195 response = await async_client .utility .with_raw_response .prefetch (
102- identifier = {},
96+ identifier = {"domain" : "domain" },
10397 type = "brand" ,
10498 )
10599
@@ -112,7 +106,7 @@ async def test_raw_response_prefetch(self, async_client: AsyncContextDev) -> Non
112106 @parametrize
113107 async def test_streaming_response_prefetch (self , async_client : AsyncContextDev ) -> None :
114108 async with async_client .utility .with_streaming_response .prefetch (
115- identifier = {},
109+ identifier = {"domain" : "domain" },
116110 type = "brand" ,
117111 ) as response :
118112 assert not response .is_closed
0 commit comments