hoops_ai.storage.helpers
Functions
|
Extracts values associated with a specific key from nested data structures. |
- hoops_ai.storage.helpers.find_nested_values_by_key(data, key, logger=None)
Extracts values associated with a specific key from nested data structures.
- Parameters:
key (str) – The key to search for in the data.
logger (Optional[logging.Logger]) – Logger for logging errors or warnings.
- Returns:
A list of extracted integer values.
- Return type:
List[int]