Bin
2025-12-17 21f0498f62ada55651f4d232327e15fc47f498b1
1
2
3
4
5
6
7
8
9
from typing import Sequence, Tuple
 
 
def sdk_logs(caplog) -> Sequence[Tuple[str, str, str]]:
    """
    Get the SDK logs from the passed caplog fixture. Useful for asserting on SDK log output.
    """
 
    return [record_tuple for record_tuple in caplog.record_tuples if record_tuple[0].startswith('label_studio_sdk.')]