@@ -28,9 +28,6 @@ class Database:
28
28
""" Firebase Database Service
29
29
30
30
31
- :type api_key: str
32
- :param api_key: ``apiKey`` from Firebase configuration.
33
-
34
31
:type credentials:
35
32
:class:`~oauth2client.service_account.ServiceAccountCredentials`
36
33
:param credentials: Service Account Credentials.
@@ -42,15 +39,14 @@ class Database:
42
39
:param requests: Session to make HTTP requests.
43
40
"""
44
41
45
- def __init__ (self , api_key , credentials , database_url , requests ):
42
+ def __init__ (self , credentials , database_url , requests ):
46
43
""" Constructor """
47
44
48
45
if not database_url .endswith ('/' ):
49
46
url = '' .join ([database_url , '/' ])
50
47
else :
51
48
url = database_url
52
49
53
- self .api_key = api_key
54
50
self .credentials = credentials
55
51
self .database_url = url
56
52
self .requests = requests
@@ -688,7 +684,7 @@ def sort(self, origin, by_key, reverse=False):
688
684
689
685
return FirebaseResponse (convert_to_firebase (data ), origin .key ())
690
686
691
- def get_etag (self , token = None , json_kwargs = {} ):
687
+ def get_etag (self , token = None ):
692
688
""" Fetches Firebase ETag at a specified location.
693
689
694
690
| For more details:
@@ -706,9 +702,6 @@ def get_etag(self, token=None, json_kwargs={}):
706
702
:param token: (Optional) Firebase Auth User ID Token, defaults
707
703
to :data:`None`.
708
704
709
- :type json_kwargs: dict
710
- :param json_kwargs: (Optional)
711
-
712
705
713
706
:return: Firebase ETag
714
707
:rtype: str
0 commit comments