From 2e1636dabcef561432bb504b8480765a673cc380 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Tue, 1 Feb 2022 12:05:32 -0800 Subject: [PATCH] Remove unused method Signed-off-by: Eduardo Apolinario --- flytekit/models/array_job.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/flytekit/models/array_job.py b/flytekit/models/array_job.py index 03718c8768..f2112a4163 100644 --- a/flytekit/models/array_job.py +++ b/flytekit/models/array_job.py @@ -85,18 +85,3 @@ def to_dict(self): ) return _json_format.MessageToDict(array_job) - - @classmethod - def from_dict(cls, idl_dict): - """ - :param dict[T, Text] idl_dict: - :rtype: ArrayJob - """ - pb2_object = _json_format.Parse(_json.dumps(idl_dict), _array_job.ArrayJob()) - - return cls( - parallelism=pb2_object.parallelism, - size=pb2_object.size, - min_successes=pb2_object.min_successes, - min_success_ratio=pb2_object.min_success_ratio, - )