Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 30, 2023
1 parent c793a6b commit e6c4b8b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions minio/credentials/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,18 @@ class Credentials:
"""
Represents credentials access key, secret key and session token.
"""

_access_key: str
_secret_key: str
_session_token: str | None
_expiration: datetime | None

def __init__(
self,
access_key: str,
secret_key: str,
session_token: str | None = None,
expiration: datetime | None = None,
self,
access_key: str,
secret_key: str,
session_token: str | None = None,
expiration: datetime | None = None,
):
if not access_key:
raise ValueError("Access key must not be empty")
Expand Down

0 comments on commit e6c4b8b

Please sign in to comment.