Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2275,15 +2275,15 @@ async def get_base64_url(
async def get_complex_null(
self,
**kwargs
) -> Dict[str, "models.Widget"]:
) -> Optional[Dict[str, "models.Widget"]]:
"""Get dictionary of complex type null value.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: dict mapping str to Widget, or the result of cls(response)
:rtype: dict[str, ~bodydictionary.models.Widget]
:return: dict mapping str to Widget or None, or the result of cls(response)
:rtype: dict[str, ~bodydictionary.models.Widget] or None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, "models.Widget"]]
cls = kwargs.pop('cls', None) # type: ClsType[Optional[Dict[str, "models.Widget"]]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -2560,15 +2560,15 @@ async def put_complex_valid(
async def get_array_null(
self,
**kwargs
) -> Dict[str, List[str]]:
) -> Optional[Dict[str, List[str]]]:
"""Get a null array.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: dict mapping str to list of str, or the result of cls(response)
:rtype: dict[str, list[str]]
:return: dict mapping str to list of str or None, or the result of cls(response)
:rtype: dict[str, list[str]] or None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, List[str]]]
cls = kwargs.pop('cls', None) # type: ClsType[Optional[Dict[str, List[str]]]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2327,15 +2327,15 @@ def get_complex_null(
self,
**kwargs # type: Any
):
# type: (...) -> Dict[str, "models.Widget"]
# type: (...) -> Optional[Dict[str, "models.Widget"]]
"""Get dictionary of complex type null value.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: dict mapping str to Widget, or the result of cls(response)
:rtype: dict[str, ~bodydictionary.models.Widget]
:return: dict mapping str to Widget or None, or the result of cls(response)
:rtype: dict[str, ~bodydictionary.models.Widget] or None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, "models.Widget"]]
cls = kwargs.pop('cls', None) # type: ClsType[Optional[Dict[str, "models.Widget"]]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down Expand Up @@ -2618,15 +2618,15 @@ def get_array_null(
self,
**kwargs # type: Any
):
# type: (...) -> Dict[str, List[str]]
# type: (...) -> Optional[Dict[str, List[str]]]
"""Get a null array.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: dict mapping str to list of str, or the result of cls(response)
:rtype: dict[str, list[str]]
:return: dict mapping str to list of str or None, or the result of cls(response)
:rtype: dict[str, list[str]] or None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop('cls', None) # type: ClsType[Dict[str, List[str]]]
cls = kwargs.pop('cls', None) # type: ClsType[Optional[Dict[str, List[str]]]]
error_map = {
401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError
}
Expand Down