Skip to content

Commit fc1ba2b

Browse files
committed
fix: assignment instead of import for mkdocs
1 parent 986a06c commit fc1ba2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fgpyo/util/inspect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
import attr
3838

3939
_use_attr = True
40-
from attr import fields as get_attr_fields
41-
from attr import fields_dict as get_attr_fields_dict
40+
get_attr_fields = attr.fields
41+
get_attr_fields_dict = attr.fields_dict
4242

4343
Attribute: TypeAlias = attr.Attribute # type: ignore[name-defined,union-attr]
4444
# dataclasses and attr have internal tokens for missing values, join into a set so that we can

0 commit comments

Comments
 (0)