From 0242ddd7d99b6aaeaff601dbe3169d703d1bacbf Mon Sep 17 00:00:00 2001 From: Michael Meng Date: Mon, 24 Apr 2023 11:27:16 -0700 Subject: [PATCH] Update the ContainerStoppedMetadata to be json serializable (#522) Summary: Pull Request resolved: https://github.com/facebookresearch/fbpcp/pull/522 As title. Reviewed By: danbunnell Differential Revision: D45202654 fbshipit-source-id: 0b468a331f7e3a75e92254df1d70bb29ff80517b --- fbpcp/entity/container_metadata.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fbpcp/entity/container_metadata.py b/fbpcp/entity/container_metadata.py index 29b72b8f..b6d97a06 100644 --- a/fbpcp/entity/container_metadata.py +++ b/fbpcp/entity/container_metadata.py @@ -8,7 +8,10 @@ from dataclasses import dataclass +from dataclasses_json import dataclass_json + +@dataclass_json @dataclass class ContainerStoppedMetadata: stopped_at: str