Skip to main content

target_universe type

Target universe in BXL. Used for looking up valid configured targets to use in cquery. This is not needed for uquery.

target_universe.lookup

def target_universe.lookup(
targets: str | target_label | target_set | unconfigured_target_node | list[str | target_label | unconfigured_target_node]
) -> target_set

Looks up valid configured target nodes within the universe. The targets passed in are either string literals, unconfigured target nodes, or unconfigured target labels.


target_universe.target_set

def target_universe.target_set() -> target_set

The target set of the nodes used to construct the target universe.


target_universe.universe_target_set

def target_universe.universe_target_set() -> target_set

The target set of the entire target universe.