@@ -35,7 +35,6 @@ class TestFiles:
3535 def test_method_create (self , client : Replicate ) -> None :
3636 file = client .files .create (
3737 content = b"raw file contents" ,
38- filename = "filename" ,
3938 )
4039 assert_matches_type (FileCreateResponse , file , path = ["response" ])
4140
@@ -55,7 +54,6 @@ def test_method_create_with_all_params(self, client: Replicate) -> None:
5554 def test_raw_response_create (self , client : Replicate ) -> None :
5655 response = client .files .with_raw_response .create (
5756 content = b"raw file contents" ,
58- filename = "filename" ,
5957 )
6058
6159 assert response .is_closed is True
@@ -68,7 +66,6 @@ def test_raw_response_create(self, client: Replicate) -> None:
6866 def test_streaming_response_create (self , client : Replicate ) -> None :
6967 with client .files .with_streaming_response .create (
7068 content = b"raw file contents" ,
71- filename = "filename" ,
7269 ) as response :
7370 assert not response .is_closed
7471 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -265,7 +262,6 @@ class TestAsyncFiles:
265262 async def test_method_create (self , async_client : AsyncReplicate ) -> None :
266263 file = await async_client .files .create (
267264 content = b"raw file contents" ,
268- filename = "filename" ,
269265 )
270266 assert_matches_type (FileCreateResponse , file , path = ["response" ])
271267
@@ -285,7 +281,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncReplicate)
285281 async def test_raw_response_create (self , async_client : AsyncReplicate ) -> None :
286282 response = await async_client .files .with_raw_response .create (
287283 content = b"raw file contents" ,
288- filename = "filename" ,
289284 )
290285
291286 assert response .is_closed is True
@@ -298,7 +293,6 @@ async def test_raw_response_create(self, async_client: AsyncReplicate) -> None:
298293 async def test_streaming_response_create (self , async_client : AsyncReplicate ) -> None :
299294 async with async_client .files .with_streaming_response .create (
300295 content = b"raw file contents" ,
301- filename = "filename" ,
302296 ) as response :
303297 assert not response .is_closed
304298 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
0 commit comments