File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 1818# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1919
2020import re
21+ import logging
2122
2223from google .cloud .bigquery import QueryJobConfig
2324from google .cloud .bigquery .dataset import DatasetReference
3132
3233GROUP_DELIMITER = re .compile (r"\s*\,\s*" )
3334KEY_VALUE_DELIMITER = re .compile (r"\s*\:\s*" )
34-
35+ logger = logging . getLogger ()
3536
3637def parse_boolean (bool_string ):
3738 bool_string = bool_string .lower ()
@@ -62,14 +63,22 @@ def parse_url(url): # noqa: C901
6263 # maximum_billing_tier (deprecated)
6364 if "maximum_billing_tier" in query :
6465 raise ValueError ("maximum_billing_tier is a deprecated argument" )
65-
66+
67+
68+ username = url .username or None
69+ email = url .email or None
70+
71+ logger .critical ('parse_url.py username' , username )
72+ logger .critical ('parse_url.py email' , email )
73+
6674 project_id = url .host
6775 location = None
6876 dataset_id = url .database or None
6977 arraysize = None
7078 credentials_path = None
7179 credentials_base64 = None
7280 list_tables_page_size = None
81+
7382
7483 # location
7584 if "location" in query :
You can’t perform that action at this time.
0 commit comments