Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
194 views

My goal is to write tests that: Simulate multiple concurrent HTTP POST requests to a cloud function endpoint (e.g., 2-3 identical webhooks arriving almost simultaneously). Verify database side ...
HouseOfCode's user avatar
1 vote
1 answer
105 views

While conducting a code review today, multiple AIs advised against using the stream() function within a Firestore transaction in Python. However, I couldn't find any mention of this limitation in the ...
Cheok Yan Cheng's user avatar
2 votes
1 answer
76 views

I recently started using firebase admin in python. I created this example script: import firebase_admin from firebase_admin import credentials from firebase_admin import firestore cred = credentials....
ori raisfeld's user avatar
2 votes
0 answers
76 views

I am trying to build a basic proxy server that's accessible from the internet to forward requests but also log them to Firebase database. I deployed my code on Google Cloud Run by creating an instance ...
Ahmed Zaidan's user avatar
0 votes
1 answer
56 views

In Python, we can perform queries on collections within a transaction using the following code snippet: def write_upload_success(filename: str, uid: str, doc_id: str) -> DocumentReference: db = ...
Cheok Yan Cheng's user avatar
2 votes
1 answer
105 views

I am trying to add test_data dictionary to my Firestore database using python. It is not working since .set() method is not showing there anymore by vscode auto suggestion. from datetime import ...
november's user avatar
1 vote
1 answer
349 views

I cannot access a Google Firestore database other than one named "(default)". I looked other other solutions online, and added a key to my credential "databaseId" but that doesn't ...
tom's user avatar
  • 1,077
0 votes
1 answer
196 views

Summary I'm using Firestore query listeners on a web client to pass python worker results back to browser as a json string. The results include a lot of Plotly graphs and the total size is ~3Mb of ...
Matt's user avatar
  • 23
0 votes
1 answer
37 views

I have a firestore database on my project and want to read/write to it not the ReatlTime Firestore database. I copied the databaseURL which connects to the RealTime database but not the firestore ...
MattJ's user avatar
  • 149
1 vote
0 answers
233 views

I have a Cloud Run Function, that gets triggered on google.cloud.firestore.document.v1.written Firestore event, as outlined below: from cloudevents.http import CloudEvent import functions_framework ...
Tokyo's user avatar
  • 843
0 votes
0 answers
341 views

I have deployed a 2nd Gen Cloud Run Function with a Firestore trigger, on the google.cloud.datastore.entity.v1.written event. I have used the sample code shown in Google Cloud documentation: from ...
Tokyo's user avatar
  • 843
0 votes
0 answers
20 views

I'm using python to interact with a firestore database. Up until now I've been using the following code to interact with the (default) database. Now that I've added a non-default database (through the ...
Viraj Shah's user avatar
4 votes
2 answers
230 views

I have an Firebase Cloud Functions codebase that uses Firestore database. Everything below works when I use it in local emulator using firebase emulators:start but when I need to deploy it to Firebase ...
haven-way's user avatar
  • 121
1 vote
0 answers
75 views

I am writing a firebase cloud function in python to read data from firestore database and update it into the firebase realtime database, however I am facing an issue with converting the firestore ...
Nehal AK's user avatar
0 votes
1 answer
69 views

I have some code for managing a friend system using Firebase. The issue I am having is when a user accepts a friend request the request can be deleted. So this involves adding user1 to user2's friends ...
Turner's user avatar
  • 15

15 30 50 per page
1
2 3 4 5
38