update: reform.
Browse files- utility.py +3 -3
utility.py
CHANGED
@@ -3,9 +3,9 @@ import os
|
|
3 |
import argparse
|
4 |
|
5 |
def retrieve_secrets(
|
6 |
-
file_path: str | os.PathLike,
|
7 |
-
secret_from: str,
|
8 |
-
access_type: str="default"
|
9 |
) -> str:
|
10 |
with open(file_path, 'r') as file:
|
11 |
lines = file.read().split('\n\n')
|
|
|
3 |
import argparse
|
4 |
|
5 |
def retrieve_secrets(
|
6 |
+
file_path: str | os.PathLike = "~/.ssh/lab_access.txt",
|
7 |
+
secret_from: str = "Hugging Face Authentication",
|
8 |
+
access_type: str = "default"
|
9 |
) -> str:
|
10 |
with open(file_path, 'r') as file:
|
11 |
lines = file.read().split('\n\n')
|