def _download_file(): source_file = self.context.web.get_file_by_server_relative_path( self.server_relative_url) qry = create_download_file_query(source_file, file_object) self.context.add_query(qry)
def _download_inner(): qry = create_download_file_query(self, file_object) self.context.add_query(qry)