2424 async_to_streamed_response_wrapper ,
2525)
2626from ...._wrappers import ResultWrapper
27- from ....types .intel import IntelASN
2827from ...._base_client import (
2928 make_request_options ,
3029)
30+ from ....types .shared import asn
3131
3232__all__ = ["ASN" , "AsyncASN" ]
3333
@@ -47,7 +47,7 @@ def with_streaming_response(self) -> ASNWithStreamingResponse:
4747
4848 def get (
4949 self ,
50- asn : IntelASN ,
50+ asn : asn . ASN ,
5151 * ,
5252 account_id : str ,
5353 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -56,7 +56,7 @@ def get(
5656 extra_query : Query | None = None ,
5757 extra_body : Body | None = None ,
5858 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
59- ) -> IntelASN :
59+ ) -> asn . ASN :
6060 """
6161 Get ASN Overview
6262
@@ -80,9 +80,9 @@ def get(
8080 extra_query = extra_query ,
8181 extra_body = extra_body ,
8282 timeout = timeout ,
83- post_parser = ResultWrapper [IntelASN ]._unwrapper ,
83+ post_parser = ResultWrapper [asn . ASN ]._unwrapper ,
8484 ),
85- cast_to = cast (Type [IntelASN ], ResultWrapper [int ]),
85+ cast_to = cast (Type [asn . ASN ], ResultWrapper [int ]),
8686 )
8787
8888
@@ -101,7 +101,7 @@ def with_streaming_response(self) -> AsyncASNWithStreamingResponse:
101101
102102 async def get (
103103 self ,
104- asn : IntelASN ,
104+ asn : asn . ASN ,
105105 * ,
106106 account_id : str ,
107107 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -110,7 +110,7 @@ async def get(
110110 extra_query : Query | None = None ,
111111 extra_body : Body | None = None ,
112112 timeout : float | httpx .Timeout | None | NotGiven = NOT_GIVEN ,
113- ) -> IntelASN :
113+ ) -> asn . ASN :
114114 """
115115 Get ASN Overview
116116
@@ -134,9 +134,9 @@ async def get(
134134 extra_query = extra_query ,
135135 extra_body = extra_body ,
136136 timeout = timeout ,
137- post_parser = ResultWrapper [IntelASN ]._unwrapper ,
137+ post_parser = ResultWrapper [asn . ASN ]._unwrapper ,
138138 ),
139- cast_to = cast (Type [IntelASN ], ResultWrapper [int ]),
139+ cast_to = cast (Type [asn . ASN ], ResultWrapper [int ]),
140140 )
141141
142142
0 commit comments