OneToOne

class OneToOne(*args, **kwargs)[source]

Bases: Protocol[T]

Callable type taking one input of a type and returning one output of the same type.