`Validator.method_source` returns `""` for `property` and `cached_property`
anmyachev opened this issue · comments
Anatoly Myachev commented
An interesting detail is that source_file_def_line
method takes into account these types of objects and correctly finds the source code of the functions wrapped in these properties.
Lines 313 to 324 in e7c6baf
Anatoly Myachev commented
Validator.name
also doesn't work for functools.cached_property
.