buildgrid.browser.utils module
- buildgrid.browser.utils.get_cors_headers(origin: str | None, origins: Collection[str | Pattern[str] | URL], allow_all: bool) Dict[str, str]
- class buildgrid.browser.utils.ResponseCache
Bases:
object
- async store_action_result(key: str, result: ActionResult) None
- async get_action_result(key: str) ActionResult | None
- async store_blob(key: str, blob: bytes) None
- async get_blob(key: str) bytes | None
- async store_operation(key: str, operation: Operation) None
- async get_operation(key: str) Operation | None