File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 21
21
22
22
def quickstart_new_instance ():
23
23
# [START firestore_setup_client_create]
24
+ # [START firestore_setup_client_create_with_project_id]
24
25
from google .cloud import firestore
25
26
26
27
# The `project` parameter is optional and represents which project the client
27
28
# will act on behalf of. If not supplied, the client falls back to the default
28
29
# project inferred from the environment.
29
30
db = firestore .Client (project = 'my-project-id' )
31
+ # [END firestore_setup_client_create_with_project_id]
30
32
# [END firestore_setup_client_create]
31
33
32
34
return db
@@ -154,7 +156,7 @@ def to_dict(self):
154
156
# [END_EXCLUDE]
155
157
156
158
def __repr__ (self ):
157
- return (
159
+ return (
158
160
f'City(\
159
161
name={ self .name } , \
160
162
country={ self .country } , \
You can’t perform that action at this time.
0 commit comments