OneToOneMethod¶ class OneToOneMethod(*args, **kwargs)[source]¶ Bases: Protocol[K, T] Callable type taking a module and one input of a type and returning one output of the same type.