From da8ca7fe079ffb9a20596da0ca6dbf621da8b1a4 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Thu, 2 May 2024 14:49:07 +0000 Subject: [PATCH] fix: don't raise UnknownLocationWarning for US or EU multi-regions --- bigframes/constants.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bigframes/constants.py b/bigframes/constants.py index c6d8f3acc2..4778eb9c9e 100644 --- a/bigframes/constants.py +++ b/bigframes/constants.py @@ -31,6 +31,7 @@ # https://cloud.google.com/bigquery/docs/locations ALL_BIGQUERY_LOCATIONS = frozenset( { + # regions "us-east5", "us-south1", "us-central1", @@ -74,6 +75,9 @@ "me-central1", "me-west1", "africa-south1", + # multi-regions + "US", + "EU", } )