14 lines
243 B
Python
14 lines
243 B
Python
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
from ..models import TraceKey
|
|
|
|
|
|
ScoreKey = tuple[str, str, str]
|
|
|
|
|
|
def composite_id(row: dict[str, Any]) -> ScoreKey:
|
|
return TraceKey.from_record(row).as_tuple()
|
|
return result
|