Skip to content

Commit 864a475

Browse files
authored
Add protobuf dep and install instructions (#2250)
1 parent 741b0b7 commit 864a475

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

tasks/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ Please refer to [Setting Up a Python Development Environment](https://cloud.goog
2323
To set up authentication, please refer to our
2424
[authentication getting started guide](https://cloud.google.com/docs/authentication/getting-started).
2525

26+
## Install Dependencies
27+
28+
To install the dependencies for this sample, use the following command:
29+
30+
```
31+
pip install -r requirements.txt
32+
```
33+
34+
This sample uses the common protos in the [googleapis](https://github.com/googleapis/googleapis)
35+
repository. For more info, see
36+
[Protocol Buffer Basics](https://developers.google.com/protocol-buffers/docs/pythontutorial).
37+
2638
## Creating a queue
2739

2840
To create a queue (named `my-queue`) using the Cloud SDK, use the following

tasks/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Flask==1.0.2
22
gunicorn==19.9.0
3-
google-cloud-tasks==0.7.0
3+
google-cloud-tasks==1.1.0
4+
googleapis-common-protos==1.6.0

0 commit comments

Comments
 (0)