From 49cf3185ada9f428aea03eec6f7ef9f6ace2e401 Mon Sep 17 00:00:00 2001 From: Jon Wayne Parrott Date: Thu, 29 Sep 2016 20:51:47 -0700 Subject: [PATCH] Move to google-cloud [(#544)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/544) --- samples/snippets/export.py | 2 +- samples/snippets/export_test.py | 2 +- samples/snippets/requirements.txt | 2 +- samples/snippets/snippets.py | 2 +- samples/snippets/snippets_test.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/snippets/export.py b/samples/snippets/export.py index b24dd9878..20367c274 100644 --- a/samples/snippets/export.py +++ b/samples/snippets/export.py @@ -16,7 +16,7 @@ import argparse -from gcloud import logging +from google.cloud import logging def list_sinks(): diff --git a/samples/snippets/export_test.py b/samples/snippets/export_test.py index d4dfd681e..8f1c299d7 100644 --- a/samples/snippets/export_test.py +++ b/samples/snippets/export_test.py @@ -15,8 +15,8 @@ import random import string -from gcloud import logging from gcp.testing import eventually_consistent +from google.cloud import logging import pytest import export diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 97a207d3a..303f67c09 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1 +1 @@ -gcloud==0.18.3 +google-cloud-logging==0.20.0 diff --git a/samples/snippets/snippets.py b/samples/snippets/snippets.py index f73143ec8..0280cfbe4 100644 --- a/samples/snippets/snippets.py +++ b/samples/snippets/snippets.py @@ -23,7 +23,7 @@ import argparse -from gcloud import logging +from google.cloud import logging def write_entry(logger_name): diff --git a/samples/snippets/snippets_test.py b/samples/snippets/snippets_test.py index f41f52fb5..86eac1180 100644 --- a/samples/snippets/snippets_test.py +++ b/samples/snippets/snippets_test.py @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -from gcloud import logging from gcp.testing import eventually_consistent +from google.cloud import logging import pytest import snippets