From 984c2f30fd0ce5e9ada44227cb4b7618fa2e7964 Mon Sep 17 00:00:00 2001 From: Tyron Jung Date: Tue, 19 Nov 2024 10:04:59 -0800 Subject: [PATCH] Remove unused function --- truss-chains/truss_chains/utils.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/truss-chains/truss_chains/utils.py b/truss-chains/truss_chains/utils.py index d78b64586..e748c5bd9 100644 --- a/truss-chains/truss_chains/utils.py +++ b/truss-chains/truss_chains/utils.py @@ -180,22 +180,6 @@ def populate_chainlet_service_predict_urls( return chainlet_to_deployed_service -# NOTE: This needs to be available in the Context Builder -# so that older Truss CLI versions that generate code that -# expects this function to be available continue to work. -def override_chainlet_to_service_metadata( - chainlet_to_service: Dict[ - str, Union[definitions.ServiceDescriptor, definitions.DeployedServiceDescriptor] - ], -) -> None: - chainlet_to_deployed_service = populate_chainlet_service_predict_urls( - chainlet_to_service - ) - - for chainlet_name in chainlet_to_service.keys(): - chainlet_to_service[chainlet_name] = chainlet_to_deployed_service[chainlet_name] - - # Error Propagation Utils. #############################################################