globocom / gcloud-utils

Global package for Cloud Management in Python
https://gcloud-utils.readthedocs.io/en/latest/
Apache License 2.0
16 stars 23 forks source link

Add flag to ignore 'already exist' errors #38

Closed saracuza closed 4 years ago

saracuza commented 4 years ago

Description

Fixes #37

I changed bigquery.py in the bigquery package by putting a second parameter in _client's create_table method, this parameter is a bool where True is to ignore "already exists" errors when creating the table. We can use it too in _client's create_dateset, enabling to remove the try except.

Type of change

Please mark options that are relevant.