Source code for nlpstack.types
from dataclasses import Field
from typing import ClassVar, Dict, Protocol, TypeVar
T_Dataclass = TypeVar("T_Dataclass", bound=DataclassInstance)
Example = TypeVar("Example")
Inference = TypeVar("Inference")
Prediction = TypeVar("Prediction")