Skip to content

Commit

Permalink
Replace simple lambda with direct call to object
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasha10 committed Nov 5, 2023
1 parent 0c96518 commit 95fcc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/structured_conf/data/attr_classes_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class NestedConfig:

@attr.s(auto_attribs=True)
class NestedWithAny:
var: Any = attr.Factory(lambda: Nested())
var: Any = attr.Factory(Nested)


@attr.s(auto_attribs=True)
Expand Down

0 comments on commit 95fcc64

Please sign in to comment.