services/ui_backend_service/api/card.py [228:248]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    cache_client,
    task,
    card_hash,
) -> Optional[Dict[str, Dict]]:
    """
    Return the card-data from the cache, or nothing.

    Example:
    --------
    {
        "id": 1,
        "hash": "abc123",
        "data": {}
    }
    """
    pathspec = "{flow_id}/{run_id}/{step_name}/{task_id}".format(
        flow_id=task.get("flow_id"),
        run_id=task.get("run_id") or task.get("run_number"),
        step_name=task.get("step_name"),
        task_id=task.get("task_name") or task.get("task_id"),
    )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



services/ui_backend_service/api/card.py [257:277]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    cache_client,
    task,
    card_hash,
) -> Optional[Dict[str, Dict]]:
    """
    Return the card-data from the cache, or nothing.

    Example:
    --------
    {
        "id": 1,
        "hash": "abc123",
        "data": {}
    }
    """
    pathspec = "{flow_id}/{run_id}/{step_name}/{task_id}".format(
        flow_id=task.get("flow_id"),
        run_id=task.get("run_id") or task.get("run_number"),
        step_name=task.get("step_name"),
        task_id=task.get("task_name") or task.get("task_id"),
    )
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



