Fixed path to key

This commit is contained in:
Alexander Munch-Hansen 2020-12-29 20:50:10 +01:00
parent a8255f14d8
commit b5810383f3
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ from firebase_admin import credentials
from firebase_admin import firestore
parser = argparse.ArgumentParser(description="Rubbish front for google cloud firestore API")
parser.add_argument('--source_file', action='store', dest='source_file',
type=str, required=True,
help='which file to read from')
@ -19,7 +20,7 @@ parser.add_argument('--project_id', action='store', dest='project_id',
args = parser.parse_args()
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="/Users/alexandermunch-hansen/projects/Python/cloud_firestore/navedu-admin-key.json"
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="navedu-admin-key.json"
def take_huge_file(long_ass_string: str):