コード例 #1
0
ファイル: test_client.py プロジェクト: ga4ghpoc/server
 def testSearchRnaQuantificationSets(self):
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = self.datasetId
     request.page_size = self.pageSize
     self.httpClient.search_rna_quantification_sets(self.datasetId)
     self.httpClient._run_search_request.assert_called_once_with(
         request, "rnaquantificationsets",
         protocol.SearchRnaQuantificationSetsResponse)
コード例 #2
0
ファイル: client.py プロジェクト: Philip-Wu/server
 def search_rna_quantification_sets(self, dataset_id):
     """
     Returns an iterator over the RnaQuantificationSet objects from the
     server
     """
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = dataset_id
     request.page_size = pb.int(self._page_size)
     return self._run_search_request(
         request, "rnaquantificationsets",
         protocol.SearchRnaQuantificationSetsResponse)
コード例 #3
0
ファイル: test_views.py プロジェクト: ga4ghpoc/server
 def sendRnaQuantificationSetsSearch(self):
     request = protocol.SearchRnaQuantificationSetsRequest()
     request.dataset_id = self.datasetId
     return self.sendPostRequest('/rnaquantificationsets/search', request)