Skip to content

Commit

Permalink
fix mypy problem
Browse files Browse the repository at this point in the history
  • Loading branch information
rafsaf committed Sep 12, 2023
1 parent 554211b commit 85ab57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backuper/upload_providers/google_cloud_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from pathlib import Path

from google.cloud import storage
import google.cloud.storage as cloud_storage
from pydantic import SecretStr

from backuper import config, core
Expand Down Expand Up @@ -35,7 +35,7 @@ def __init__(
f.write(service_account_bytes)
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = str(sa_path)

self.storage_client = storage.Client()
self.storage_client = cloud_storage.Client()
self.bucket = self.storage_client.bucket(bucket_name)
self.bucket_upload_path = bucket_upload_path
self.chunk_size_bytes = chunk_size_mb * 1024 * 1024
Expand Down

0 comments on commit 85ab57d

Please sign in to comment.