BuildGrid
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.scheduler package
buildgrid.server.scheduler.cohorts module
View page source
buildgrid.server.scheduler.cohorts module
class
buildgrid.server.scheduler.cohorts.
Cohort
(
name
:
str
,
property_labels
:
frozenset
[
str
]
)
Bases:
object
name
:
str
property_labels
:
frozenset
[
str
]
class
buildgrid.server.scheduler.cohorts.
CohortSet
(
cohorts
:
list
[
Cohort
]
)
Bases:
object
get_labels_by_cohort
(
cohort
:
str
)
→
frozenset
[
str
]
get_cohort_by_labels
(
labels
:
frozenset
[
str
]
)
→
str
|
None