Skip to content

Commit 3feb6ea

Browse files
committed
Fix line length issues
1 parent b9eea55 commit 3feb6ea

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

unboxapi/api.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ def __init__(self, api_key: str):
3232
if api_key == "" or api_key is None:
3333
raise UnboxException(
3434
"There is an issue instantiating the UnboxClient. \n"
35-
"No valid API key is being provided. \n"
36-
"Make sure to provide a valid API key using the syntax `UnboxClient('YOUR_API_KEY _HERE')`. You can find your API keys in your Profile page on the Unbox platform."
35+
"An invalid API key is being provided. \n"
36+
"Make sure to provide a valid API key using the syntax "
37+
"`UnboxClient('YOUR_API_KEY_HERE')`. You can find your API keys "
38+
"in the Profile page on the Unbox platform."
3739
)
3840

3941
self.api_key = api_key
@@ -177,8 +179,8 @@ def upload_blob_s3(
177179
def upload_blob_gcs(
178180
self, endpoint: str, file_path: str, object_name: str = None, body=None
179181
):
180-
"""Generic method to upload data to Google Cloud Storage and create the appropriate resource
181-
in the backend.
182+
"""Generic method to upload data to Google Cloud Storage and create the
183+
appropriate resource in the backend.
182184
"""
183185
params = {"storageInterface": "gcs", "objectName": object_name}
184186
presigned_json = self.get_request(f"{endpoint}/presigned-url", params=params)
@@ -204,8 +206,8 @@ def upload_blob_gcs(
204206
def upload_blob_azure(
205207
self, endpoint: str, file_path: str, object_name: str = None, body=None
206208
):
207-
"""Generic method to upload data to Azure Blob Storage and create the appropriate resource
208-
in the backend.
209+
"""Generic method to upload data to Azure Blob Storage and create the
210+
appropriate resource in the backend.
209211
"""
210212
params = {"storageInterface": "azure", "objectName": object_name}
211213
presigned_json = self.get_request(f"{endpoint}/presigned-url", params=params)

0 commit comments

Comments
 (0)