Skip to main content

All Questions

0 votes
1 answer
17 views

Firebase Cloud Function using Event for document change AttributeError: 'Event' object has no attribute 'after'

I deployed the following Python Firebase cloud function that's supposed to be triggered on change to document from Collection Appointments, then send an FCM accordingly to associated user. # The Cloud ...
Tareq Ewaida's user avatar
0 votes
1 answer
36 views

Fixed windowing not producing synchronous output

I am using the Apache Beam Python SDK to create a Dataflow pipeline. Steps: ingest synchronous pubsub messages window into 1 second windows with 600ms allowed latency and a 2 second processing ...
Joe Moore's user avatar
  • 1,965
0 votes
0 answers
27 views

Gzip binary blob data from Firebase - convert in Python

I am using the Python client to query Firestore data, and the data is stored in a Gzip (compressed) format. I am not sure what the encoding is, but using Pako ungzip in Typescript and Base64 decoding ...
pb-0's user avatar
  • 11
0 votes
0 answers
95 views

How to convert Json and Dict type data using Firestore trigger of Cloud function v2

I'm using Google Cloud functions v2 on Firestore created trigger So This is default code from cloudevents.http import CloudEvent import functions_framework from google.events.cloud import firestore @...
lima's user avatar
  • 249
1 vote
0 answers
66 views

How can I make requests require authentication?

I'm trying to make an authentication system for my server for a game. I want certain routes to require you to be authenticated to interact with them. I would like to use Firebase authentication for ...
Possible Panda's user avatar
1 vote
0 answers
16 views

Read Image from firestore document in google cloud function (python) [closed]

I am creating a Google Cloud Function, using Python, to perform some OCR on an image uploaded by a user into a firestore collection (using flutterflow app). The text detected is then appended to the ...
mcpj's user avatar
  • 105
0 votes
0 answers
84 views

How to fix grpc._channel._MultiThreadedRendezvous fails; StatusCode.UNAVAILABLE; Query timed out

I have a Python function that takes a cloud Firestore collection name as an arg and streams thru every document in that collection to check for errors. In simplified form, it essentially looks ...
HaroldFinch's user avatar
0 votes
1 answer
31 views

firebase functions (python) - how do I define a trigger function that adds a specific field to a new created document

I have a flutter flow app that authenticates users using google provider. I am trying to set a firebase trigger function that will add the boolean field "isMoreInfoRequired",let it equal to ...
Gil Porat's user avatar
0 votes
1 answer
19 views

Secure Firestore credentials for a desktop app

I am creating a desktop application using python and firebase. In this app I wanted to use Firestore Database and store all the data, but, that is possible by giving the path to the privatekey.json ...
l3gi0n's user avatar
  • 1
3 votes
0 answers
59 views

How to write to a firestore db other than (default) in a python cloud function

I use firebase cloud functions for a small project of mine. I have set up everything like so and it works fine: cred = credentials.Certificate("db_key.json") app = initialize_app(cred) db = ...
P. Luchs's user avatar
  • 138
0 votes
0 answers
21 views

Unable to install python dependencies for Firebase CLI

Helllo, I have been able to access Firestore as well as deploy code for firestore and hosting, but I am unable to do firebase init functions nor firebase deploy --only functions. Currently these are ...
Isaac Choong's user avatar
0 votes
1 answer
48 views

Get url after uploading file to Firebase Storage

I am developing a Flutter application that reads from a Firestore database and Firebase Storage. The Firebase Storage read rules are set to allow only authenticated users. I also have a Python script ...
Cle's user avatar
  • 25
0 votes
1 answer
40 views

Python firestore does not recognize set function on subcollection

I have a discord bot that is connected to Firebase Firestore. I can get/set data on collections and documents but can't when I try to set on a subcollections. Here's part of my code: import discord ...
Efren Pineda's user avatar
0 votes
0 answers
32 views

firebase function does not work correctly with swift, but works with a direct html request

I have a simple cloud function gen1 that accepts settings and returns a response from the "chat gpt" it sends, it is written in Python 3, which works great directly through the request, but ...
FOX in glases's user avatar
0 votes
0 answers
19 views

sending FCM to device by Firebase Cloud Functions with python [duplicate]

I have the following server code in python stored in firebase cloud functions import firebase_admin import google.cloud.firestore as t from firebase_admin import credentials, firestore from ...
Edgar Torres's user avatar

15 30 50 per page
1
2 3 4 5
38