Skip to content

Commit 8e4616b

Browse files
authored
fix: don't raise UnknownLocationWarning for US or EU multi-regions (#653)
1 parent e4f13c3 commit 8e4616b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bigframes/constants.py

+4
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
# https://cloud.google.com/bigquery/docs/locations
3232
ALL_BIGQUERY_LOCATIONS = frozenset(
3333
{
34+
# regions
3435
"us-east5",
3536
"us-south1",
3637
"us-central1",
@@ -74,6 +75,9 @@
7475
"me-central1",
7576
"me-west1",
7677
"africa-south1",
78+
# multi-regions
79+
"US",
80+
"EU",
7781
}
7882
)
7983

0 commit comments

Comments
 (0)