def get_thread(request, thread_id, requested_fields=None):
 (cc_thread, context) = _get_thread_and_context(request, thread_id, retrieve_kwargs={'with_responses': True, 'user_id': unicode(request.user.id)})
 return _serialize_discussion_entities(request, context, [cc_thread], requested_fields, DiscussionEntity.thread)[0]

def get_thread ( request , thread_id , requested_fields = None ) : ( cc_thread , context ) = _get_thread_and_context ( request , thread_id , retrieve_kwargs = { 'with_responses' : True , 'user_id' : unicode ( request . user . id ) } ) return _serialize_discussion_entities ( request , context , [ cc_thread ] , requested_fields , DiscussionEntity . thread ) [ 0 ]
retrieve a thread .