@@ -20,21 +20,21 @@ class TestObjects:
2020
2121 @parametrize
2222 def test_method_list (self , client : Cloudflare ) -> None :
23- object = client .durable_objects .namespaces .objects .list (
23+ object_ = client .durable_objects .namespaces .objects .list (
2424 "5fd1cafff895419c8bcc647fc64ab8f0" ,
2525 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
2626 )
27- assert_matches_type (SyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
27+ assert_matches_type (SyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
2828
2929 @parametrize
3030 def test_method_list_with_all_params (self , client : Cloudflare ) -> None :
31- object = client .durable_objects .namespaces .objects .list (
31+ object_ = client .durable_objects .namespaces .objects .list (
3232 "5fd1cafff895419c8bcc647fc64ab8f0" ,
3333 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
3434 cursor = "AAAAANuhDN7SjacTnSVsDu3WW1Lvst6dxJGTjRY5BhxPXdf6L6uTcpd_NVtjhn11OUYRsVEykxoUwF-JQU4dn6QylZSKTOJuG0indrdn_MlHpMRtsxgXjs-RPdHYIVm3odE_uvEQ_dTQGFm8oikZMohns34DLBgrQpc" ,
3535 limit = 10 ,
3636 )
37- assert_matches_type (SyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
37+ assert_matches_type (SyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
3838
3939 @parametrize
4040 def test_raw_response_list (self , client : Cloudflare ) -> None :
@@ -45,8 +45,8 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
4545
4646 assert response .is_closed is True
4747 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
48- object = response .parse ()
49- assert_matches_type (SyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
48+ object_ = response .parse ()
49+ assert_matches_type (SyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
5050
5151 @parametrize
5252 def test_streaming_response_list (self , client : Cloudflare ) -> None :
@@ -57,8 +57,8 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
5757 assert not response .is_closed
5858 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
5959
60- object = response .parse ()
61- assert_matches_type (SyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
60+ object_ = response .parse ()
61+ assert_matches_type (SyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
6262
6363 assert cast (Any , response .is_closed ) is True
6464
@@ -82,21 +82,21 @@ class TestAsyncObjects:
8282
8383 @parametrize
8484 async def test_method_list (self , async_client : AsyncCloudflare ) -> None :
85- object = await async_client .durable_objects .namespaces .objects .list (
85+ object_ = await async_client .durable_objects .namespaces .objects .list (
8686 "5fd1cafff895419c8bcc647fc64ab8f0" ,
8787 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
8888 )
89- assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
89+ assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
9090
9191 @parametrize
9292 async def test_method_list_with_all_params (self , async_client : AsyncCloudflare ) -> None :
93- object = await async_client .durable_objects .namespaces .objects .list (
93+ object_ = await async_client .durable_objects .namespaces .objects .list (
9494 "5fd1cafff895419c8bcc647fc64ab8f0" ,
9595 account_id = "023e105f4ecef8ad9ca31a8372d0c353" ,
9696 cursor = "AAAAANuhDN7SjacTnSVsDu3WW1Lvst6dxJGTjRY5BhxPXdf6L6uTcpd_NVtjhn11OUYRsVEykxoUwF-JQU4dn6QylZSKTOJuG0indrdn_MlHpMRtsxgXjs-RPdHYIVm3odE_uvEQ_dTQGFm8oikZMohns34DLBgrQpc" ,
9797 limit = 10 ,
9898 )
99- assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
99+ assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
100100
101101 @parametrize
102102 async def test_raw_response_list (self , async_client : AsyncCloudflare ) -> None :
@@ -107,8 +107,8 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
107107
108108 assert response .is_closed is True
109109 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
110- object = await response .parse ()
111- assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
110+ object_ = await response .parse ()
111+ assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
112112
113113 @parametrize
114114 async def test_streaming_response_list (self , async_client : AsyncCloudflare ) -> None :
@@ -119,8 +119,8 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
119119 assert not response .is_closed
120120 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
121121
122- object = await response .parse ()
123- assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object , path = ["response" ])
122+ object_ = await response .parse ()
123+ assert_matches_type (AsyncCursorLimitPagination [DurableObject ], object_ , path = ["response" ])
124124
125125 assert cast (Any , response .is_closed ) is True
126126
0 commit comments