partly fixed python

This commit is contained in:
morganmclean 2018-07-16 12:42:58 -07:00
parent 4c8fa307a5
commit 6e1bbe46e2
2 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,7 @@ WORKDIR /home
RUN apt-get update && apt-get install python3-pip -y
RUN pip install opencensus
RUN pip install google-python-cloud-debugger
RUN pip install google-cloud-trace
# set listen port
ENV PORT "8080"

View file

@ -6,9 +6,9 @@ import time
import random
import os
# from opencensus.trace.ext.grpc import server_interceptor
# from opencensus.trace.samplers import always_on
# from opencensus.trace.exporters import stackdriver_exporter
from opencensus.trace.ext.grpc import server_interceptor
from opencensus.trace.samplers import always_on
from opencensus.trace.exporters import stackdriver_exporter
class RecommendationService(demo_pb2_grpc.RecommendationServiceServicer):
def ListRecommendations(self, request, context):