|
9 | 9 | from collections.abc import MutableMapping |
10 | 10 | import datetime |
11 | 11 | from io import IOBase |
12 | | -from typing import Any, Callable, Dict, IO, Iterable, Optional, TypeVar, Union, overload |
| 12 | +from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload |
13 | 13 | import urllib.parse |
14 | 14 | import uuid |
15 | 15 |
|
@@ -1001,7 +1001,7 @@ def build_call_recording_resume_recording_request( # pylint: disable=name-too-l |
1001 | 1001 |
|
1002 | 1002 |
|
1003 | 1003 | class AzureCommunicationCallAutomationServiceOperationsMixin( # pylint: disable=name-too-long |
1004 | | - ClientMixinABC[PipelineClient, AzureCommunicationCallAutomationServiceConfiguration] |
| 1004 | + ClientMixinABC[PipelineClient[HttpRequest, HttpResponse], AzureCommunicationCallAutomationServiceConfiguration] |
1005 | 1005 | ): |
1006 | 1006 |
|
1007 | 1007 | @overload |
@@ -1542,7 +1542,7 @@ class CallConnectionOperations: |
1542 | 1542 |
|
1543 | 1543 | models = _models |
1544 | 1544 |
|
1545 | | - def __init__(self, *args, **kwargs): |
| 1545 | + def __init__(self, *args, **kwargs) -> None: |
1546 | 1546 | input_args = list(args) |
1547 | 1547 | self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") |
1548 | 1548 | self._config: AzureCommunicationCallAutomationServiceConfiguration = ( |
@@ -1842,7 +1842,7 @@ def transfer_to_participant( |
1842 | 1842 | return deserialized # type: ignore |
1843 | 1843 |
|
1844 | 1844 | @distributed_trace |
1845 | | - def get_participants(self, call_connection_id: str, **kwargs: Any) -> Iterable["_models.CallParticipant"]: |
| 1845 | + def get_participants(self, call_connection_id: str, **kwargs: Any) -> ItemPaged["_models.CallParticipant"]: |
1846 | 1846 | """Get participants from a call. Recording and transcription bots are omitted from this list. |
1847 | 1847 |
|
1848 | 1848 | Get participants from a call. Recording and transcription bots are omitted from this list. |
@@ -2512,7 +2512,7 @@ class CallMediaOperations: |
2512 | 2512 |
|
2513 | 2513 | models = _models |
2514 | 2514 |
|
2515 | | - def __init__(self, *args, **kwargs): |
| 2515 | + def __init__(self, *args, **kwargs) -> None: |
2516 | 2516 | input_args = list(args) |
2517 | 2517 | self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") |
2518 | 2518 | self._config: AzureCommunicationCallAutomationServiceConfiguration = ( |
@@ -4037,7 +4037,7 @@ class CallRecordingOperations: |
4037 | 4037 |
|
4038 | 4038 | models = _models |
4039 | 4039 |
|
4040 | | - def __init__(self, *args, **kwargs): |
| 4040 | + def __init__(self, *args, **kwargs) -> None: |
4041 | 4041 | input_args = list(args) |
4042 | 4042 | self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") |
4043 | 4043 | self._config: AzureCommunicationCallAutomationServiceConfiguration = ( |
|
0 commit comments