BuildGrid
0.1.15
Using BuildGrid
About
Components
Getting Started
Installation
Configuration
Using
Monitoring and Metrics
Resources
CLI reference
Developing BuildGrid
Development Environment Setup
Notes for Developers
API reference
buildgrid
buildgrid package
Subpackages
Module contents
Configuration Parser API
Contributing
Architecture
BuildGrid
API reference
buildgrid
buildgrid package
buildgrid.server package
buildgrid.server.browser package
buildgrid.server.browser.utils module
View page source
buildgrid.server.browser.utils module
buildgrid.server.browser.utils.
get_cors_headers
(
origin
:
str
|
None
,
origins
:
Collection
[
str
|
Pattern
[
str
]
|
URL
]
,
allow_all
:
bool
)
→
Dict
[
str
,
str
]
class
buildgrid.server.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