How to pass differently-typed composable functions up front in type-safe way?

后端 未结 0 1608
北海茫月
北海茫月 2020-12-01 17:38

I have a ValuePropagator:

V = TypeVar("V")

class ValuePropagator(ABC, Generic[V]):
    @abstractmethod
    def get(self, funcs: Sequen         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题