Reduce redis sample code.
Reduce redis sample code.

Change-Id: I67a7998d0b29b7b398fc12fe819b810d29867620

sharbison3/python-docs-samples,sharbison3/python-docs-samples,JavaRabbit/CS496_capstone,JavaRabbit/CS496_capstone,BrandonY/python-docs-samples,BrandonY/python-docs-samples,hashems/Mobile-Cloud-Development-Projects,sharbison3/python-docs-samples,JavaRabbit/CS496_capstone,canglade/NLP,hashems/Mobile-Cloud-Development-Projects,GoogleCloudPlatform/python-docs-samples,GoogleCloudPlatform/python-docs-samples,canglade/NLP,hashems/Mobile-Cloud-Development-Projects,BrandonY/python-docs-samples,canglade/NLP,hashems/Mobile-Cloud-Development-Projects,JavaRabbit/CS496_capstone,GoogleCloudPlatform/python-docs-samples,sharbison3/python-docs-samples,BrandonY/python-docs-samples,GoogleCloudPlatform/python-docs-samples,canglade/NLP