format: フォーマット修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2025-06-12 14:52:24 +09:00
parent 92f250abdc
commit 9bd19142ea

View File

@ -2,6 +2,7 @@ import os.path as path
import tempfile import tempfile
import boto3 import boto3
from src.system_var import environment from src.system_var import environment
@ -63,7 +64,7 @@ class ConfigBucket(S3Bucket):
jsk_archive_run_day_list_key = f'{environment.JSKULT_CONFIG_CALENDAR_FOLDER}/{environment.JSKULT_CONFIG_CALENDAR_RUN_ARCHIVE_DAY_FILE_NAME}' jsk_archive_run_day_list_key = f'{environment.JSKULT_CONFIG_CALENDAR_FOLDER}/{environment.JSKULT_CONFIG_CALENDAR_RUN_ARCHIVE_DAY_FILE_NAME}'
with open(temporary_file_path, mode='wb') as f: with open(temporary_file_path, mode='wb') as f:
self._s3_client.download_file( self._s3_client.download_file(
self._bucket_name, jsk_archive_run_day_list_key, f) self._bucket_name, jsk_archive_run_day_list_key, f)
f.seek(0) f.seek(0)
return temporary_file_path return temporary_file_path
@ -79,7 +80,6 @@ class ConfigBucket(S3Bucket):
return temporary_file_path return temporary_file_path
class JskUltBackupBucket(S3Bucket): class JskUltBackupBucket(S3Bucket):
_bucket_name = environment.JSKULT_BACKUP_BUCKET _bucket_name = environment.JSKULT_BACKUP_BUCKET