Skip to content

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

Open
@onakatomi

Description

@onakatomi

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions