Skip to content

Commit

Permalink
Block benign warning from Google library (#2228)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebrennan authored and amarjandu committed Jan 20, 2021
1 parent dd7ca3d commit d87560b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/provision_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ def _destroy_service_account_creds(self, service_account_email):


if __name__ == "__main__":
# Suppress noisy warning from Google library. See
# https://github.com/googleapis/google-api-python-client/issues/299#issuecomment-255793971
logging.getLogger('googleapiclient.discovery_cache').setLevel(logging.ERROR)

configure_script_logging(logger)
provision_parser = argparse.ArgumentParser(add_help=False)
group = provision_parser.add_mutually_exclusive_group(required=True)
Expand Down

0 comments on commit d87560b

Please sign in to comment.