Skip to content

Commit

Permalink
fix(precomputed_annotations): avoid cache entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh authored and supersergiy committed Jan 13, 2025
1 parent 04b5954 commit 96f91fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetta_utils/db_annotations/precomp_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def write_bytes(file_or_gs_path: str, data: bytes):
if "//" not in file_or_gs_path:
file_or_gs_path = "file://" + file_or_gs_path
cf = CloudFile(file_or_gs_path)
cf.put(data, cache_control="no-cache")
cf.put(data, cache_control="no-cache, no-store, max-age=0, must-revalidate")


def write_lines(file_or_gs_path: str, lines: Sequence[LineAnnotation], randomize: bool = True):
Expand Down

0 comments on commit 96f91fd

Please sign in to comment.