Skip to content

Commit 6303243

Browse files
committed
Fixing tuple type to Tuple
1 parent abe6137 commit 6303243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(self, user: Optional[str], endpoint: str):
2323
self.endpoint = endpoint
2424

2525
@functools.lru_cache(maxsize=10)
26-
def get_credentials(self) -> Union[tuple[str, str], tuple[str]]:
26+
def get_credentials(self) -> Union[Tuple[str, str], Tuple[str]]:
2727
def get_random_string(length):
2828
letters = string.ascii_lowercase
2929
result_str = "".join(random.choice(letters) for i in range(length))

0 commit comments

Comments
 (0)