From 864a4758a111b768d4ffeae81294d08eddb595c3 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Mon, 1 Jul 2019 09:39:08 -0700 Subject: [PATCH] Add protobuf dep and install instructions (#2250) --- tasks/README.md | 12 ++++++++++++ tasks/requirements.txt | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tasks/README.md b/tasks/README.md index 2af8ecee03f5..b83eae655a81 100644 --- a/tasks/README.md +++ b/tasks/README.md @@ -23,6 +23,18 @@ Please refer to [Setting Up a Python Development Environment](https://cloud.goog To set up authentication, please refer to our [authentication getting started guide](https://cloud.google.com/docs/authentication/getting-started). +## Install Dependencies + +To install the dependencies for this sample, use the following command: + +``` +pip install -r requirements.txt +``` + +This sample uses the common protos in the [googleapis](https://github.com/googleapis/googleapis) +repository. For more info, see +[Protocol Buffer Basics](https://developers.google.com/protocol-buffers/docs/pythontutorial). + ## Creating a queue To create a queue (named `my-queue`) using the Cloud SDK, use the following diff --git a/tasks/requirements.txt b/tasks/requirements.txt index fe50a5aa3b2d..29d55c8174e7 100644 --- a/tasks/requirements.txt +++ b/tasks/requirements.txt @@ -1,3 +1,4 @@ Flask==1.0.2 gunicorn==19.9.0 -google-cloud-tasks==0.7.0 +google-cloud-tasks==1.1.0 +googleapis-common-protos==1.6.0