Skip to content

Commit

Permalink
Deploying to gh-pages from @ 489a712 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-milan committed Mar 27, 2024
1 parent a1cc344 commit 93dbd20
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion rj_escritorio/data_catalog/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1 class="title">Module <code>pipelines.rj_escritorio.data_catalog.tasks</code>
&#34;&#34;&#34;
from typing import List

from google.api_core.exceptions import NotFound
from google.api_core.exceptions import BadRequest, NotFound
from google.cloud import bigquery
from googleapiclient import discovery
import gspread
Expand Down Expand Up @@ -149,6 +149,10 @@ <h1 class="title">Module <code>pipelines.rj_escritorio.data_catalog.tasks</code>
&#34;private&#34;: not project_id == &#34;datario&#34;,
}
tables.append(table_info)
except BadRequest:
# This will happen if BigQuery API is not enabled for this project. Just return an empty
# list
return tables
except NotFound:
# This will happen if BigQuery API is not enabled for this project. Just return an empty
# list
Expand Down Expand Up @@ -431,6 +435,10 @@ <h2 id="returns">Returns</h2>
&#34;private&#34;: not project_id == &#34;datario&#34;,
}
tables.append(table_info)
except BadRequest:
# This will happen if BigQuery API is not enabled for this project. Just return an empty
# list
return tables
except NotFound:
# This will happen if BigQuery API is not enabled for this project. Just return an empty
# list
Expand Down

0 comments on commit 93dbd20

Please sign in to comment.