Skip to content

Commit

Permalink
fix config auto calls interpolate
Browse files Browse the repository at this point in the history
Signed-off-by: Zhiyuan Chen <[email protected]>
  • Loading branch information
ZhiyuanChen committed Sep 20, 2024
1 parent 70cdb49 commit cbca658
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chanfig/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ def post(self) -> Self | None:
)
"""

self.interpolate()
self.validate()
self.apply_(lambda c: c.setattr("default_factory", Null) if isinstance(c, Config) else None)
return self
Expand Down

0 comments on commit cbca658

Please sign in to comment.