@@ -155,7 +155,7 @@ async def begin_upload(
155155 * ,
156156 content_type : str = "application/json" ,
157157 ** kwargs : Any ,
158- ) -> AsyncLROPoller [SecurityDomainOperationStatus ]: ...
158+ ) -> AsyncLROPoller [None ]: ...
159159
160160 @overload
161161 @distributed_trace_async
@@ -165,7 +165,7 @@ async def begin_upload(
165165 * ,
166166 content_type : str = "application/json" ,
167167 ** kwargs : Any ,
168- ) -> AsyncLROPoller [SecurityDomainOperationStatus ]: ...
168+ ) -> AsyncLROPoller [None ]: ...
169169
170170 @overload
171171 @distributed_trace_async
@@ -175,7 +175,7 @@ async def begin_upload(
175175 * ,
176176 content_type : str = "application/json" ,
177177 ** kwargs : Any ,
178- ) -> AsyncLROPoller [SecurityDomainOperationStatus ]: ...
178+ ) -> AsyncLROPoller [None ]: ...
179179
180180 @distributed_trace_async
181181 async def begin_upload (
@@ -184,7 +184,7 @@ async def begin_upload(
184184 * ,
185185 content_type : str = "application/json" ,
186186 ** kwargs : Any ,
187- ) -> AsyncLROPoller [SecurityDomainOperationStatus ]:
187+ ) -> AsyncLROPoller [None ]:
188188 """Restore the provided Security Domain.
189189
190190 :param security_domain: The Security Domain to be restored. Required in one of the following types:
@@ -204,7 +204,7 @@ async def begin_upload(
204204 polling_method = AsyncSecurityDomainUploadPollingMethod (
205205 lro_algorithms = [SecurityDomainUploadPolling ()], timeout = delay
206206 )
207- return await super ()._begin_upload (
207+ return await super ()._begin_upload ( # type: ignore[return-value]
208208 security_domain ,
209209 content_type = content_type ,
210210 polling = polling_method ,
0 commit comments