Exemplo n.º 1
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     return Response(get_thread(request, thread_id))
Exemplo n.º 2
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     requested_fields = request.GET.get('requested_fields')
     return Response(get_thread(request, thread_id, requested_fields))
Exemplo n.º 3
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     return Response(get_thread(request, thread_id))
Exemplo n.º 4
0
 def retrieve(self, request, thread_id=None):
     """
     Implements the GET method for thread ID
     """
     requested_fields = request.GET.get('requested_fields')
     return Response(get_thread(request, thread_id, requested_fields))