Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranitar committed Nov 19, 2024
1 parent 9e7f263 commit 984c2f3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions truss-chains/truss_chains/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. #############################################################


Expand Down

0 comments on commit 984c2f3

Please sign in to comment.