From 4fbca83a7e861bbc9bfbd1ef1cb475064710cfbc Mon Sep 17 00:00:00 2001 From: Akash Anand <aakashanand@google.com> Date: Thu, 12 Dec 2024 14:06:12 +0530 Subject: [PATCH 1/2] Updating README to run the python samples --- samples/samples/README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/samples/README.rst b/samples/samples/README.rst index b0573c249b..f4e3217090 100644 --- a/samples/samples/README.rst +++ b/samples/samples/README.rst @@ -41,13 +41,17 @@ Install Dependencies .. code-block:: bash - $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git + $ git clone https://github.com/googleapis/python-spanner.git #. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions. .. _Python Development Environment Setup Guide: https://cloud.google.com/python/setup +#. Change to the desired source directory + .. code-block:: bash + $ cd ~/python-spanner/samples/samples + #. Create a virtualenv. Samples are compatible with Python 3.6+. .. code-block:: bash From feac9f4e51fa510b1e108fef932125b5bfa42e06 Mon Sep 17 00:00:00 2001 From: Akash Anand <aakashanand@google.com> Date: Thu, 12 Dec 2024 14:06:12 +0530 Subject: [PATCH 2/2] Updating readme to run python samples --- samples/samples/README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/samples/README.rst b/samples/samples/README.rst index f4e3217090..f05fd0a5fd 100644 --- a/samples/samples/README.rst +++ b/samples/samples/README.rst @@ -50,6 +50,7 @@ Install Dependencies #. Change to the desired source directory .. code-block:: bash + $ cd ~/python-spanner/samples/samples #. Create a virtualenv. Samples are compatible with Python 3.6+.