Matt Riedemann 788e3d08f7 Use primitive type name in ValueError for Object field coerce failure
When the Object field coerce method doesn't get an object, the
type put into the ValueError message is the empty string, which is
not useful.

This change uses the type name from the value so the error has
useful details.

Change-Id: I45386cfda17243a82864780da1701d3b35432ae0
Closes-Bug: #1552480
2016-03-08 14:48:21 -05: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
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2015-02-02 15:08:43 -05:00
2016-02-11 14:50:41 +00:00
2015-09-17 12:16:17 +00:00
2015-12-09 17:59:31 +08:00

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%