Add a missing `.metadata` property to patches, same as in bodies
@@ -50,6 +50,10 @@ class Patch(Dict[str, Any]):
self._spec = SpecPatch(self)
self._status = StatusPatch(self)
+ @property
+ def metadata(self) -> MetaPatch:
+ return self._meta
+
@property
def meta(self) -> MetaPatch:
return self._meta
