8000 Merge branch 'master' into mlkit-automl · brianrodri/firebase-admin-python@e100ea1 · GitHub
[go: up one dir, main page]

Skip to content

Commit e100ea1

Browse files
authored
Merge branch 'master' into mlkit-automl
2 parents 4d6daec + 9acaff9 commit e100ea1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

firebase_admin/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def update_user(uid, **kwargs): # pylint: disable=differing-param-doc
450450
``auth.DELETE_ATTRIBUTE``.
451451
password: The user's raw, unhashed password. (optional).
452452
disabled: A boolean indicating whether or not the user account is disabled (optional).
453-
custom_claims: A dictionary or a JSON string contining the custom claims to be set on the
453+
custom_claims: A dictionary or a JSON string containing the custom claims to be set on the
454454
user account (optional). To remove all custom claims, pass ``auth.DELETE_ATTRIBUTE``.
455455
valid_since: An integer signifying the seconds since the epoch (optional). This field is
456456
set by ``revoke_refresh_tokens`` and it is discouraged to set this field directly.

firebase_admin/db.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,9 @@ def _extract_error_message(cls, response):
979979

980980
return message
981981

982-
982+
# Temporarily disable the lint rule. For more information see:
983+
# https://github.com/googleapis/google-auth-library-python/pull/561
984+
# pylint: disable=abstract-method
983985
class _EmulatorAdminCredentials(google.auth.credentials.Credentials):
984986
def __init__(self):
985987
google.auth.credentials.Credentials.__init__(self)

tests/testutils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ def __call__(self, *args, **kwargs): # pylint: disable=arguments-differ
105105
raise self.error
106106

107107

108+
# Temporarily disable the lint rule. For more information see:
109+
# https://github.com/googleapis/google-auth-library-python/pull/561
110+
# pylint: disable=abstract-method
108111
class MockGoogleCredential(credentials.Credentials):
109112
"""A mock Google authentication credential."""
110113
def refresh(self, request):

0 commit comments

Comments
 (0)
0