FIx Nonetype Bigquery Taxonomy (#8110)

This commit is contained in:
Ayush Shah 2022-10-12 19:54:13 +05:30 committed by GitHub
parent 997b977b03
commit aa9ef323e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,8 @@ class BigquerySource(CommonDbSourceService):
"""
try:
list_project_ids = [self.project_id]
if not self.service_connection.taxonomyProjectID:
self.service_connection.taxonomyProjectID = []
list_project_ids.extend(self.service_connection.taxonomyProjectID)
for project_ids in list_project_ids:
taxonomies = PolicyTagManagerClient().list_taxonomies(

View File

@ -78,7 +78,6 @@
"items": {
"type": "string"
},
"uniqueItems": true,
"default": null
},
"taxonomyLocation": {