Mypy type annotations for a decorator

前端 未结 0 1056
终归单人心
终归单人心 2021-01-06 08:23

I have a decorator class but am having trouble adding type annotations to it.

import functools

class LogInfo:

    def __init__(self, environment: str):
             


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