OpenStack versioned objects library
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
doc Updated from global requirements 2018-03-15 07:51:54 +00:00
oslo_versionedobjects Make the hash of a defaulted set field stable 2018-06-01 16:08:31 +02:00
playbooks/legacy/oslo.versionedobjects-src-grenade-devstack-multinode Migrate to zuulv3 - move legacy jobs to project 2017-10-16 08:40:11 +07:00
releasenotes Imported Translations from Zanata 2018-03-01 06:08:56 +00:00
.coveragerc Fix coverage configuration and execution 2015-10-01 19:54:59 +00:00
.gitignore Add reno for release notes management 2016-11-03 14:43:46 +08:00
.gitreview apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
.mailmap apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
.testr.conf apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
.zuul.yaml add lower-constraints job 2018-03-24 21:02:59 -04:00
CONTRIBUTING.rst rearrange existing documentation to fit the new standard layout 2017-07-01 21:02:49 +09:00
HACKING.rst Update URLs in documents according to document migration 2017-07-13 10:00:49 +08:00
LICENSE apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
README.rst Trivial: Update pypi url to new url 2018-04-20 17:14:22 +07:00
babel.cfg apply oslo-cookiecutter template 2015-02-02 15:08:43 -05:00
bindep.txt Add bindep.txt file to prevent fallback to generic list 2018-03-20 10:27:53 -05:00
lower-constraints.txt add lower-constraints job 2018-03-24 21:02:59 -04:00
requirements.txt Updated from global requirements 2018-03-26 08:22:22 +00:00
setup.cfg Treat doc warnings as errors 2018-01-08 11:59:49 -06:00
setup.py Updated from global requirements 2017-03-03 00:03:27 +00:00
test-requirements.txt Updated from global requirements 2018-01-16 12:48:00 +00:00
tox.ini Remove stale pip-missing-reqs tox test 2018-05-07 12:59:23 -04:00

README.rst

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.