Fixed path to key
This commit is contained in:
parent
a8255f14d8
commit
b5810383f3
3
main.py
3
main.py
|
@ -7,6 +7,7 @@ from firebase_admin import credentials
|
||||||
from firebase_admin import firestore
|
from firebase_admin import firestore
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="Rubbish front for google cloud firestore API")
|
parser = argparse.ArgumentParser(description="Rubbish front for google cloud firestore API")
|
||||||
|
|
||||||
parser.add_argument('--source_file', action='store', dest='source_file',
|
parser.add_argument('--source_file', action='store', dest='source_file',
|
||||||
type=str, required=True,
|
type=str, required=True,
|
||||||
help='which file to read from')
|
help='which file to read from')
|
||||||
|
@ -19,7 +20,7 @@ parser.add_argument('--project_id', action='store', dest='project_id',
|
||||||
|
|
||||||
args = parser.parse_args()
|
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):
|
def take_huge_file(long_ass_string: str):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user