weaver.wps_restapi.quotation.utils
Module Contents
- weaver.wps_restapi.quotation.utils.check_quotation_supported(container: weaver.typedefs.AnySettingsContainer) bool [source]
Request view decorator that validates the instance configuration permits the quotation extension.
- weaver.wps_restapi.quotation.utils.get_quote(request: weaver.typedefs.AnyRequestType) weaver.datatype.Quote [source]
Obtain the referenced Quote by the request with validation.
- Parameters:
request
- Returns:
Matched quote.
- Raises:
HTTPNotFound – If the quote could not be found.