当我尝试运行我的代码时:
import pyrebase
firebaseConfig = {
"apiKey": "xxxxxx",
"authDomain": "xxxxxx",
"projectId": "xxxxxx",
"storageBucket": "xxxxxxx",
"serviceAccount": "xxxxxxxxx"
}
firebase_storage = pyrebase.initialize_app(firebaseConfig)
storage = firebase_storage.storage()
storage.child("uploads").put("xxxxxxx")
我收到一个错误:
self.database_url = 配置["databaseURL"]
KeyError:“数据库URL”
我不知道该怎么办。有人能帮我吗?