Changes
-
Remove simplejson as a fallback. Is no longer required with Python 3.8 plus and
has worse performance that the builtin json module. -
Simplify the internals of the Resource metaclass to make it easier to understand
and maintain. Greater sharing of code between Resource and AnnotatedResourceThis change has no effect on the public API.
Removes some compatibility code with versions prior to Python 3.8.
-
Support shadowing of fields on a resource. To enabled this feature set the
allow_field_shadowing
meta option toTrue
. This allows for fields to be
overridden on a resource.ResourceObjects now includes a shadow_fields listing all fields shadowed by this
resource.
Bugfix
- ResourceOptions.abstract flag was not being set for abstract AnnotatedResrouces.