One user is removed from database when the debugger hits a breakpoint.
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
- Domain
- authentication
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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from firebase/firebase-admin-python
-
api: remoteconfig
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
firebase/firebase-admin-python#957 · 1 comment ·
-
api: database type: feature request
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
firebase/firebase-admin-python#978 · 1 comment ·
-
[FR] Support VERIFY_AND_CHANGE_EMAIL in generate_email_action_link (parity with firebase-admin-node) Openapi: auth
firebase/firebase-admin-python#949 · 2 comments · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
firebase/firebase-admin-python#945 · 1 comment · 1 reaction ·
All issues in firebase/firebase-admin-python
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·