chore: apply ruff

This commit is contained in:
Harry 2026-01-08 11:14:44 +08:00
parent 0d33714f28
commit 786c3e4137

View File

@ -390,8 +390,7 @@ class ClickZettaVolumeStorage(BaseStorage):
"""
content = self.load_once(filename)
with Path(target_filepath).open("wb") as f:
f.write(content)
Path(target_filepath).write_bytes(content)
logger.debug("File %s downloaded from ClickZetta Volume to %s", filename, target_filepath)