Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

firebase/firebase-functions-python

Thefirebase-functions package provides an SDK for defining Cloud Functions for Firebase in Python.

Cloud Functions provides hosted, private, and scalable environment where you can run server code. The Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.

Learn more

Learn more about the Firebase SDK for Cloud Functions in theFirebase documentation orcheck out our samples.

Here are some resources to get help:

If the official documentation doesn't help, try asking through our official support channels:https://firebase.google.com/support/

Usage

# functions/main.pyfromfirebase_functionsimportdb_fnfromnotify_usersimportapi@db_fn.on_value_created(reference="/posts/{post_id}")defnew_post(event):print(f"Received new post with ID:{event.params.get('post_id')}")returnnotifyUsers(event.data)

Contributing

To contribute a change,check out the contributing guide.

License

© Google, 2025. Licensed underApache License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp