Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

One user is removed from database when the debugger hits a breakpoint.

Open
#650 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
firebase, python

Research direction

Start by running the supplied Python snippet with Firebase Admin SDK 5.4.0 or 4.5.2 in the stated Windows, PyCharm, and Python environment. Compare the users returned before and after the breakpoint, then document a reproducible result that identifies whether the removal is caused by the SDK, debugger, or environment.

Written by the indexing model from the issue text.

Description

api: auth

Hello! :D
I have very weird problem.
One user is removed from my database when the debugger hits a breakpoint.

  • Operating System version: Windows 11
  • Firebase SDK version: 5.4.0 and 4.5.2
  • Firebase Product: auth
  • Python version: 3.8.12
  • Pycharm version: 2021.2.3 Professional Edition Build 212.5457.59
  • Pip version: 21.3.1

https://drive.google.com/file/d/1Pn4vHd_87C5pweNzh8JvYKkoNvagiNz4/view?usp=sharing

Relevant Code:
import firebase_admin
from firebase_admin import auth

firebase_admin.initialize_app()

if __name__ == '__main__':
    users_claims = {x.uid: x.custom_claims for x in auth.list_users().iterate_all().items}

    for user_id, claims in users_claims.items():
        print(user_id)

    print('BP')
    print([x.uid for x in auth.list_users().iterate_all().items])
Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
3d 9h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-python

All issues in firebase/firebase-admin-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.