Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Documentation says "from firebase_functions.core import init", however this library doesn't exist at all. Where is it? #205

Open
onakatomi opened this issue May 1, 2024 · 2 comments
Labels
waiting for customer response Issue is on hold awaiting more information from OP

Comments

@onakatomi
Copy link

I'm trying to use parameters in global scope for Firebase Functions using StringParam. I'm using Python; firebase CLI version 12.7.0.

I'm reading the docs (here: https://firebase.google.com/docs/functions/config-env?gen=2nd#python_1) and as you can see there it is saying to do from firebase_functions.core import init and then use the @init decorator. This init import dones't exist though!

What is going on?

Error: ImportError: cannot import name 'init' from 'firebase_functions.core'

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@exaby73
Copy link
Contributor

exaby73 commented May 17, 2024

Hey @onakatomi. Firstly, I think this issue belongs in firebase/firebase-functions-python :) I'll transfer this issue there. But other than that, could you tell me the version of the library you're using?

@exaby73 exaby73 transferred this issue from firebase/firebase-functions May 17, 2024
@exaby73 exaby73 added the waiting for customer response Issue is on hold awaiting more information from OP label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for customer response Issue is on hold awaiting more information from OP
Projects
None yet
Development

No branches or pull requests

3 participants