firebase-admin-python icon indicating copy to clipboard operation
firebase-admin-python copied to clipboard

Couldn't import app_check

Open karambaq opened this issue 1 year ago • 1 comments

  • Operating System version: macOS Sonoma 14.0
  • Firebase SDK version: 5.4.0
  • Firebase Product: ?
  • Python version: 3.11
  • Pip version: 23.3.2

[REQUIRED] Step 3: Describe the problem

Error while importing app_check as in documentation https://firebase.google.com/docs/app-check/custom-resource-backend

Steps to reproduce:

pip install firebase_admin

python -c "import firebase_admin; from firebase_admin import app_check"

ERROR:

ImportError: cannot import name 'app_check' from 'firebase_admin'

Relevant Code:

import firebase_admin
from firebase_admin import app_check

karambaq avatar Mar 05 '24 05:03 karambaq

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Mar 05 '24 05:03 google-oss-bot

Hi @karambaq, App Check support was only added in v6.0.0. Please update to a newer version to resolve your issue.

jonathanedey avatar Oct 02 '24 15:10 jonathanedey