parameters: (self, bundle)
return_statement: return bundle
docstring: Inserts the comments uri to the document bundle
docstring_summary: Inserts the comments uri to the document bundle
docstring_tokens: Inserts the comments uri to the document bundle
function: def dehydrate(self, bundle):
          """
          Inserts the comments uri to the document bundle
          """
          bundle.data["comments_uri"] = reverse("api_get_comments", kwargs={
              "resource_name": "documents",
              "pk": bundle.data.get("id")
          })
          return bundle
function_tokens: def dehydrate ( self , bundle ) : bundle . data [ "comments_uri" ] = reverse ( "api_get_comments" , kwargs = { "resource_name" : "documents" , "pk" : bundle . data . get ( "id" ) } ) return bundle