Skip to content

Commit 55986c1

Browse files
authored
firebase initialization
improved structure and removed commented-out imports
1 parent 39c9397 commit 55986c1

File tree

1 file changed

+12
-12
lines changed
  • FLASK PROJECTS/Excel to Firebase

1 file changed

+12
-12
lines changed

FLASK PROJECTS/Excel to Firebase/main.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
from firebase import Firebase
1212
import os
1313

14-
firebaseConfig = {
15-
"apiKey": "your apikey",
16-
"authDomain": "",
17-
"databaseURL": "database url",
18-
"projectId": "your project id",
19-
"storageBucket": "your storage bucket id",
20-
"messagingSenderId": "your sender id",
21-
"appId": "your appId",
22-
"measurementId": "your measurement id"
23-
};
24-
firebase = Firebase(firebaseConfig)
14+
firebase_config = {
15+
"apiKey": "your apiKey",
16+
"authDomain": "",
17+
"databaseURL": "database url",
18+
"projectId": "your project id",
19+
"storageBucket": "your storage bucket id",
20+
"messagingSenderId": "your sender id",
21+
"appId": "your appId",
22+
"measurementId": "your measurement id"
23+
}
24+
firebase = Firebase(firebase_config)
2525
db = firebase.database()
26-
list_of_keys=[]
26+
2727

2828
app = Flask(__name__)
2929

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy