Dealing with lack of non-null assertion operator in Python

前端 未结 0 1261
悲&欢浪女
悲&欢浪女 2021-02-03 22:35

I would like to allow Mypy\' strict_optional flag. However, consider this:

emails = [get_user(uuid).email for uuid in user_         


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