Skip to main content
https://travis-ci.org/Azure/msrest-for-python.svg?branch=master https://codecov.io/gh/azure/msrest-for-python/branch/master/graph/badge.svg

Installation

To install:

$ pip install msrest

Release History

2017-06-15 Version 0.4.10

Features

  • Add requests hooks to configuration

2017-06-08 Version 0.4.9

Bugfixes

  • Accept “null” value for paging array as an empty list and do not raise (#30)

2017-05-22 Version 0.4.8

Bugfixes

  • Fix random “pool is closed” error (#29)

  • Fix requests dependency to version 2.x, since version 3.x is annunced to be breaking.

2017-04-04 Version 0.4.7

BugFixes

  • Refactor paging #22:

    • “next” is renamed “advance_page” and “next” returns only 1 element (Python 2 expected behavior)

    • paging objects are now real generator and support the “next()” built-in function without need for “iter()”

  • Raise accurate DeserialisationError on incorrect RestAPI discriminator usage #27

  • Fix discriminator usage of the base class name #27

  • Remove default mutable arguments in Clients #20

  • Fix object comparison in some scenarios #24

2017-03-06 Version 0.4.6

Bugfixes

  • Allow Model sub-classes to be serialized if type is “object”

2017-02-13 Version 0.4.5

Bugfixes

  • Fix polymorphic deserialization #11

  • Fix regexp validation if ‘\w’ is used in Python 2.7 #13

  • Fix dict deserialization if keys are unicode in Python 2.7

Improvements

  • Add polymorphic serialisation from dict objects

  • Remove chardet and use HTTP charset declaration (fallback to utf8)

2016-09-14 Version 0.4.4

Bugfixes

Disclaimer

In order to get paging fixes for impacted clients, you need this package and Autorest > 0.17.0 Nightly 20160913

2016-09-01 Version 0.4.3

Bugfixes

2016-08-15 Version 0.4.2

Bugfixes

2016-08-08 Version 0.4.1

Bugfixes

2016-05-25 Version 0.4.0

This version has no bug fixes, but implements new features of Autorest: - Base64 url type - unixtime type - x-ms-enum modelAsString flag

Behaviour changes

  • Add Platform information in UserAgent

  • Needs Autorest > 0.17.0 Nightly 20160525

2016-04-26 Version 0.3.0

Bugfixes

Behaviour changes

  • Needs Autorest > 0.16.0 Nightly 20160426

2016-03-25 Version 0.2.0

Bugfixes

Behaviour changes

  • Needs Autorest > 0.16.0 Nightly 20160324

2016-03-21 Version 0.1.3

Bugfixes

2016-03-14 Version 0.1.2

Bugfixes

2016-03-04 Version 0.1.1

Bugfixes

2016-03-04 Version 0.1.0

Behavioural Changes

  • Removed custom logging set up and configuration. All loggers are now children of the root logger ‘msrest’ with no pre-defined configurations.

  • Replaced _required attribute in Model class with more extensive _validation dict.

Improvement

  • Removed hierarchy scanning for attribute maps from base Model class - relies on generator to populate attribute maps according to hierarchy.

  • Base class Paged now inherits from collections.Iterable.

  • Data validation during serialization using custom parameters (e.g. max, min etc).

  • Added ValidationError to be raised if invalid data encountered during serialization.

2016-02-29 Version 0.0.3

Bugfixes

2016-02-19 Version 0.0.2

Bugfixes

  • Fixed bug in exception logging before logger configured.

2016-02-19 Version 0.0.1

  • Initial release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

msrest-0.4.10.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

msrest-0.4.10-py2.py3-none-any.whl (32.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file msrest-0.4.10.tar.gz.

File metadata

  • Download URL: msrest-0.4.10.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for msrest-0.4.10.tar.gz
Algorithm Hash digest
SHA256 b551086afbf9de41228fb3afb0eeb38f8a2e816ba1744448e9080c2ffcb69166
MD5 0cd5b363942dd97b75f321135bf3061f
BLAKE2b-256 3da972dffc5cfae3dfb29e21e8f4acb0ed45931ceb1b26c453814320eb675c25

See more details on using hashes here.

File details

Details for the file msrest-0.4.10-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for msrest-0.4.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 be14b5961975a36a869a3cba2866c56b284c0fb9fbd1862fb969b3f823a594d4
MD5 9de71d459caa6805ed7415bf0a7eb435
BLAKE2b-256 72332360dce9ab7863f7cb4522272fd0a4ff398157184f417169bd1da7ca2876

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page