Skip to content

Commit

Permalink
Deprecate WebUrlInfo.has_unique_hash field
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Jul 1, 2024
1 parent a708bc2 commit 908c622
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions modal/_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 908c622

Please sign in to comment.