SaidBySolo/neispy

TypeError: hasattr(): attribute name must be string

SaidBySolo opened this issue · 0 comments

만약 attribute 값에 None 또는 False가 있다면
TypeError: hasattr(): attribute name must be string가 나옴

재현방법:

import model

a = model.AttributeDict({"a":False}) # or None

return a.a