plexus.cli.shared.check_local_score_cache module
Functions to check for locally cached score configurations.
- plexus.cli.shared.check_local_score_cache.check_local_score_cache(arg1, arg2) → Tuple[List[str], List[str]] | Dict[str, bool]
Check which score configurations are already cached locally. This function can be called with two different parameter patterns:
- Pattern 1 (Original):
score_configs (dict): A dictionary of score IDs to their configurations scorecard_name (str): The name of the scorecard Returns tuple: (list of cached score IDs, list of uncached score IDs)
- Pattern 2 (New):
scorecard_data (dict): Dictionary containing scorecard information including ‘name’ score_objects (list): List of score objects with ‘id’ and ‘name’ properties Returns dict: Dictionary mapping score IDs to boolean cache status