code: def attachments(self):
          
  
          resource = copy(self)
          resource._url_builder = URLBuilder(self._base_url, self._base_path, '/attachment')
  
          path = self._api_path.strip('/').split('/')
  
          if path[0] != 'table':
              raise InvalidUsage('The attachment API can only be used with the table API')
  
          return Attachment(resource, path[1])
docs: Provides an `Attachment` API for this resource.
          Enables easy listing, deleting and creating new attachments.     
  
          :return: Attachment object