from typing import Literal .... possible_relations=Literal["one", "two", ...],
create_model()
from pydantic to create a pydantic model on the fly, and it needs a python type to properly create the field for the pydantic modeldef create(possible_realtions: List[str]): Literal[possible_relations] # <- Failure