From 908c622e15a6b9e3c473262a35e39d09d7c6e4f2 Mon Sep 17 00:00:00 2001 From: Michael Waskom Date: Mon, 1 Jul 2024 20:26:25 +0000 Subject: [PATCH] Deprecate WebUrlInfo.has_unique_hash field --- modal/_output.py | 2 -- modal_proto/api.proto | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modal/_output.py b/modal/_output.py index 6a6017452..dde4caa4d 100644 --- a/modal/_output.py +++ b/modal/_output.py @@ -539,8 +539,6 @@ def __exit__(self, exc_type, exc_val, exc_tb): # Ensure terms used here match terms used in modal.com/docs/guide/webhook-urls doc. if url_info.truncated: suffix = " [grey70](label truncated)[/grey70]" - elif url_info.has_unique_hash: - suffix = " [grey70](label includes conflict-avoidance hash)[/grey70]" elif url_info.label_stolen: suffix = " [grey70](label stolen)[/grey70]" else: diff --git a/modal_proto/api.proto b/modal_proto/api.proto index c48b4e568..79093f0a0 100644 --- a/modal_proto/api.proto +++ b/modal_proto/api.proto @@ -2078,7 +2078,7 @@ message VolumeRemoveFileRequest { message WebUrlInfo { bool truncated = 1; - bool has_unique_hash = 2; + bool has_unique_hash = 2 [deprecated=true]; bool label_stolen = 3; }