Patch¶
-
class
pyhf.patchset.
Patch
(spec)[source]¶ Bases:
jsonpatch.JsonPatch
A way to store a patch definition as part of a patchset (
PatchSet
).It contains
metadata
about the Patch itself:In addition to the above metadata, the Patch object behaves like the underlying
jsonpatch.JsonPatch
.Attributes
-
metadata
¶ The metadata of the patch
-
name
¶ The name of the patch
-
values
¶ The values of the associated labels for the patch
Methods
-