Open
Description
Which sample?
What is the issue with this sample's docs?
Description:
I encountered an issue while trying to use the logger
submodule from the firebase_functions
module. According to the documentation and examples, it seems like there should be a logger
submodule available, but it doesn't exist in the installed package.
Steps to Reproduce:
-
Install
firebase_functions
using pip. -
Attempt to import the
logger
submodule as shown below:from firebase_functions import logger
-
Run the script.
Expected Behavior:
The logger
submodule should be imported without any errors.
Actual Behavior:
The following error is raised: ImportError: cannot import name 'logger' from 'firebase_functions' (/path/to/venv/lib/python3.12/site-packages/firebase_functions/init.py)
Metadata
Metadata
Assignees
Labels
No labels