File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
from .result import Result
5
5
from .utils import convert_to_array
6
6
7
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
7
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
8
8
9
9
def list_data (params ):
10
10
ref = DB .collection (u'adoption' )
Original file line number Diff line number Diff line change 4
4
from .result import Result
5
5
from .utils import convert_to_array
6
6
7
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
7
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
8
8
9
9
def list_data (params ):
10
10
ref = DB .collection (u'categories' )
Original file line number Diff line number Diff line change 3
3
from google .cloud import firestore
4
4
from .result import Result
5
5
6
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
6
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
7
7
8
8
def list_data (params ):
9
9
ref = DB .collection (u'core_web_vitals' )
Original file line number Diff line number Diff line change 4
4
from .result import Result
5
5
from .utils import convert_to_array
6
6
7
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
7
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
8
8
9
9
def list_data (params ):
10
10
Original file line number Diff line number Diff line change 4
4
from .result import Result
5
5
from .utils import convert_to_array
6
6
7
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
7
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
8
8
9
9
def list_data (params ):
10
10
ref = DB .collection (u'page_weight' )
Original file line number Diff line number Diff line change 4
4
from .result import Result
5
5
from .utils import convert_to_array
6
6
7
- DB = firestore .Client (project = os .environ .get ('PROJECT' ))
7
+ DB = firestore .Client (project = os .environ .get ('PROJECT' ), database = os . environ . get ( 'DATABASE' ) )
8
8
9
9
def list_data (params ):
10
10
ref = DB .collection (u'technologies' )
You can’t perform that action at this time.
0 commit comments