@@ -22,15 +22,15 @@ class TestQ2a:
2222 def test_method_create (self , client : Asktable ) -> None :
2323 q2a = client .single_turn .q2a .create (
2424 datasource_id = "datasource_id" ,
25- question = "question " ,
25+ question = "xxx " ,
2626 )
2727 assert_matches_type (Q2aResponse , q2a , path = ["response" ])
2828
2929 @parametrize
3030 def test_method_create_with_all_params (self , client : Asktable ) -> None :
3131 q2a = client .single_turn .q2a .create (
3232 datasource_id = "datasource_id" ,
33- question = "question " ,
33+ question = "xxx " ,
3434 max_rows = 0 ,
3535 role_id = "role_id" ,
3636 role_variables = {},
@@ -42,7 +42,7 @@ def test_method_create_with_all_params(self, client: Asktable) -> None:
4242 def test_raw_response_create (self , client : Asktable ) -> None :
4343 response = client .single_turn .q2a .with_raw_response .create (
4444 datasource_id = "datasource_id" ,
45- question = "question " ,
45+ question = "xxx " ,
4646 )
4747
4848 assert response .is_closed is True
@@ -54,7 +54,7 @@ def test_raw_response_create(self, client: Asktable) -> None:
5454 def test_streaming_response_create (self , client : Asktable ) -> None :
5555 with client .single_turn .q2a .with_streaming_response .create (
5656 datasource_id = "datasource_id" ,
57- question = "question " ,
57+ question = "xxx " ,
5858 ) as response :
5959 assert not response .is_closed
6060 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -106,15 +106,15 @@ class TestAsyncQ2a:
106106 async def test_method_create (self , async_client : AsyncAsktable ) -> None :
107107 q2a = await async_client .single_turn .q2a .create (
108108 datasource_id = "datasource_id" ,
109- question = "question " ,
109+ question = "xxx " ,
110110 )
111111 assert_matches_type (Q2aResponse , q2a , path = ["response" ])
112112
113113 @parametrize
114114 async def test_method_create_with_all_params (self , async_client : AsyncAsktable ) -> None :
115115 q2a = await async_client .single_turn .q2a .create (
116116 datasource_id = "datasource_id" ,
117- question = "question " ,
117+ question = "xxx " ,
118118 max_rows = 0 ,
119119 role_id = "role_id" ,
120120 role_variables = {},
@@ -126,7 +126,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncAsktable)
126126 async def test_raw_response_create (self , async_client : AsyncAsktable ) -> None :
127127 response = await async_client .single_turn .q2a .with_raw_response .create (
128128 datasource_id = "datasource_id" ,
129- question = "question " ,
129+ question = "xxx " ,
130130 )
131131
132132 assert response .is_closed is True
@@ -138,7 +138,7 @@ async def test_raw_response_create(self, async_client: AsyncAsktable) -> None:
138138 async def test_streaming_response_create (self , async_client : AsyncAsktable ) -> None :
139139 async with async_client .single_turn .q2a .with_streaming_response .create (
140140 datasource_id = "datasource_id" ,
141- question = "question " ,
141+ question = "xxx " ,
142142 ) as response :
143143 assert not response .is_closed
144144 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments