Go to file
Balazs Gibizer ad962c05be Make the hash of a defaulted set field stable
The string representation of an empty set is different between py27 and
py35. The ObjectVersionChecker uses the string represenation of the
default value of the fields as input for the hash of the object. This
makes hash of an object with a set field defaulted to an empty set
unstable.

This patch enhances the repr generation of the Field object to avoid the
unstable hash situation.

Change-Id: Ie9519c1893175614d60af97b635e6ff57f2b0d7d
Closes-Bug: #1771804
2018-06-01 16:08:31 +02:00
2018-03-15 07:51:54 +00:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2018-03-24 21:02:59 -04:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2018-04-20 17:14:22 +07:00
2018-01-08 11:59:49 -06:00
2017-03-03 00:03:27 +00:00
2018-05-07 12:59:23 -04:00

Team and repository tags

image

oslo.versionedobjects

Latest Version

Downloads

The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.

Description
OpenStack versioned objects library
Readme 7 MiB
Languages
Python 100%