msrest-for-python icon indicating copy to clipboard operation
msrest-for-python copied to clipboard

The runtime library "msrest" for AutoRest generated Python clients.

Results 22 msrest-for-python issues
Sort by recently updated
recently updated
newest added

Some tests are failing with Python 3.12 while they are passing with Python 3.11. ```bash ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.4.0 rootdir: /build/source configfile:...

On my machine `np.float64` are the same as `float`, so I would expect that they are serialized in the same way. However, this is not the case as the logic...

Currently the repo only has git tags up to [v0.6.21](https://github.com/Azure/msrest-for-python/releases/tag/v0.6.21). Would it be possible to create the missing tags for `v0.7.0` and `v0.7.1`?

``` def deserialize_object(self, attr, **kwargs): ... obj_type = type(attr) ... if obj_type == dict: ``` The net effect is that when attr is a subclass of dict, the operation raises...

Similar to objects we get from frozen [dataclasses](https://docs.python.org/3/library/dataclasses.html) or frozen [pydantic](https://pydantic-docs.helpmanual.io/) models, simple data that we can compare and treat as values would be useful for debugging (eg, stack traces...

Hi, it would be awesome if `ConsumptionManagementClient` could be used as a context manager just like `ComputeClientManagement`. Currently, this does not work as `ConsumptionManagementClient` only inherits from `object` and has...

Basically on line `1538` of serialization.py, set to internal response if it exists. This way, we can just go ahead and deal with the internal `azure.core.pipeline.transport.HttpResponse` instead of our client-facing...

A warning is logged while using msrest where urllib3 issues DeprecationWarning about using 'method_whitelist' with Retry DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use...

Azure core introduced a NULL sentinel value `azure.core.serialization.NULL` for representing explicit null data, Must honor: `azure.core.serialization.NULL` means `null` on the wire, but azure.core.NULL in the deserialized object. None means nothing...

bug

**Error Message:** ```Python # in msrest.exceptions _messages = { "min_length": "must have length greater than {!r}.", "max_length": "must have length less than {!r}.", ... } ``` code link: [click](https://github.com/Azure/msrest-for-python/blob/master/msrest/exceptions.py#L95) **Validation...