Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
def get_response(status, header, data, request):
return oci.Response(status, header, data, request)
if call_result.next_page is not None:
func_kwargs['page'] = call_result.next_page
keep_paginating = call_result.has_next_page
# Truncate the list to the first limit items, as potentially we could have gotten more than what the caller asked for
if is_dns_record_collection:
final_response = Response(
call_result.status,
call_result.headers,
dns_record_collection_class(items=aggregated_results[:record_limit]),
call_result.request
)
else:
final_response = Response(call_result.status, call_result.headers, aggregated_results[:record_limit], call_result.request)
return final_response