Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
cli: ml: Fix default should have been default_factory for Features() …
Browse files Browse the repository at this point in the history
…object

Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny committed Dec 5, 2023
1 parent 11ae60b commit f6fee24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dffml/cli/ml.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class AccuracyCMDConfig:
scorer: AccuracyScorer = field(
"Method to use to score accuracy", required=True
)
features: Features = field("Predict Feature(s)", default=Features())
features: Features = field("Predict Feature(s)", default_factory=Features)
sources: Sources = FIELD_SOURCES


Expand Down

0 comments on commit f6fee24

Please sign in to comment.