def post(self, request): request.data["award_levels"] = [ "elasticsearch_transactions", "sub_awards" ] request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, DownloadRequestType.AWARD)
def post(self, request): request.data["constraint_type"] = "year" # TODO: update front end to use the Common Filter Object and get rid of this function self.process_filters(request.data) return BaseDownloadViewSet.post(self, request, "award")
def post(self, request): if is_experimental_elasticsearch_api(request): logger.info("Using experimental Elasticsearch functionality for '/download/transactions'") request.data["award_levels"] = ["elasticsearch_transactions", "sub_awards"] else: request.data["award_levels"] = ["transactions", "sub_awards"] request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, "award")
def post(self, request): """Return url to pre-generated zip file""" return BaseDownloadViewSet.post(self, request, DownloadRequestType.DISASTER)
def post(self, request): request.data["constraint_type"] = "year" return BaseDownloadViewSet.post(self, request, origination="bulk_download", validator_type=AwardDownloadValidator)
def post(self, request): """Push a message to SQS with the validated request JSON""" return BaseDownloadViewSet.post(self, request, "account")
def post(self, request): request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, "assistance")
def post(self, request): request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post( self, request, validator_type=AssistanceDownloadValidator)
def post(self, request): request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, DownloadRequestType.ASSISTANCE)
def post(self, request): request.data['award_levels'] = ['awards', 'sub_awards'] request.data['constraint_type'] = 'row_count' return BaseDownloadViewSet.post(self, request, 'award')
def post(self, request): return BaseDownloadViewSet.post(self, request, 'idv')
def post(self, request): request.data["award_levels"] = ["sub_awards"] request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, "award")
def post(self, request): return BaseDownloadViewSet.post(self, request, "assistance")
def post(self, request): return BaseDownloadViewSet.post(self, request, "contract")
def post(self, request): return BaseDownloadViewSet.post(self, request, DownloadRequestType.DISASTER_RECIPIENT)
def post(self, request): request.data["award_levels"] = ["elasticsearch_awards", "sub_awards"] request.data["constraint_type"] = "row_count" return BaseDownloadViewSet.post(self, request, validator_type=AwardDownloadValidator)
def post(self, request): """Return url to pre-generated zip file""" return BaseDownloadViewSet.post(self, request, special_request_type="disaster")
def post(self, request): """Push a message to SQS with the validated request JSON""" return BaseDownloadViewSet.post(self, request, DownloadRequestType.ACCOUNT)
def post(self, request): return BaseDownloadViewSet.post( self, request, validator_type=DisasterRecipientDownloadValidator)