March 2019
Beginner to intermediate
778 pages
34h 20m
English
With the fundamentals out of the way, let's create a few entities and see how we can interact with them. To get started, run the following commands from chapter_08/example_01 of this book's source code. As usual, this can be done from within the Cloud Shell.
First, ensure that the required dependencies are installed:
pip install -r requirements.txt
Next, execute the following Python script:
python generate-data.py
This should produce the following output, although the specific IDs will be different:
Employee 5725107787923456 is Sally Miller the CEO, who has 0 ancestorsEmployee 5629499534213120 is John Green the Project Manager, who has 1 ancestorsEmployee 5668600916475904 is Bill King the Engineer, who has 2 ancestors ...
Read now
Unlock full access