Is there a type hint to go with SimpleNamespace?

前端 未结 0 1877
广开言路
广开言路 2021-01-02 00:23

Say I am defining a function that returns a types.SimpleNamespace. I would like to type-hint the result:

from types import SimpleNamespace

def func() -> S         


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