"""Ows-request wrapper.""" from owsrequest import request as owsrequest from src.configs import common_config from src.utils import partial from src.utils import service_errors request = partial.wrapped_partial( owsrequest.process, 'lambda_dd_search_os', common_config.ENVIRONMENT) post = service_errors.handle_errors()( partial.wrapped_partial(request, 'post')) get = service_errors.handle_errors()( partial.wrapped_partial(request, 'get'))