We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986a06c commit fc1ba2bCopy full SHA for fc1ba2b
1 file changed
fgpyo/util/inspect.py
@@ -37,8 +37,8 @@
37
import attr
38
39
_use_attr = True
40
- from attr import fields as get_attr_fields
41
- from attr import fields_dict as get_attr_fields_dict
+ get_attr_fields = attr.fields
+ get_attr_fields_dict = attr.fields_dict
42
43
Attribute: TypeAlias = attr.Attribute # type: ignore[name-defined,union-attr]
44
# dataclasses and attr have internal tokens for missing values, join into a set so that we can
0 commit comments