Searched refs:_FIELDS (Results 1 - 1 of 1) sorted by relevance
/third_party/python/Lib/ |
H A D | dataclasses.py | 211 _FIELDS = '__dataclass_fields__' variable 271 # When cls._FIELDS is filled in with a list of Field objects, the name 913 # decorator. That is, they have a _FIELDS attribute. 914 base_fields = getattr(b, _FIELDS, None) 998 setattr(cls, _FIELDS, fields) 1242 fields = getattr(class_or_instance, _FIELDS) 1253 return hasattr(type(obj), _FIELDS) 1260 return hasattr(cls, _FIELDS) 1477 for f in getattr(obj, _FIELDS).values():
|
Completed in 2 milliseconds