original_docstring: 
          Custom method to get the hyperlink to the actual file resource.
          
docstring: Custom method to get the hyperlink to the actual file resource.
docstring_tokens: Custom method to get the hyperlink to the actual file resource .
code: def _get_file_link(self, obj):
          """
          Custom method to get the hyperlink to the actual file resource.
          """
          fields = self.fields.items()
          # get the current url
          url_field = [v for (k, v) in fields if k == 'url'][0]
          view = url_field.view_name
          request = self.context['request']
          format = self.context['format']
          url = url_field.get_url(obj, view, request, format)
          # return url = current url + file name
          return url + pathlib.Path(obj.fname.name).name
code_tokens: def _get_file_link ( self , obj ) : fields = self . fields . items ( ) url_field = [ v for ( k , v ) in fields if k == 'url' ] [ 0 ] view = url_field . view_name request = self . context [ 'request' ] format = self . context [ 'format' ] url = url_field . get_url ( obj , view , request , format ) return url + pathlib . Path ( obj . fname . name ) . name
short_docstring: Custom method to get the hyperlink to the actual file resource.
short_docstring_tokens: Custom method to get the hyperlink to the actual file resource .
comment: """
          Custom method to get the hyperlink to the actual file resource.
          """$SEP$# get the current url$SEP$# return url = current url + file name