plexus.cli.shared.fetch_scorecard_structure module

Functions for fetching scorecard structures from the API.

plexus.cli.shared.fetch_scorecard_structure.fetch_scorecard_structure(client, identifier: str) Dict[str, Any] | None

Fetch the basic structure of a scorecard without the full configurations.

This function fetches minimal scorecard data including sections and scores, but importantly WITHOUT the champion version configurations to reduce data transfer.

Args:

client: The API client identifier: Scorecard identifier (ID, name, key, or external ID)

Returns:

Dict containing scorecard structure or None if not found