Skip to content

Commit

Permalink
Remove field for immutable type
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjng committed Mar 27, 2024
1 parent ea83832 commit 1b129e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nnbench/types/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class Benchmark:
"""

fn: Callable[..., Any]
name: str = field(default="")
name: str = ""
params: dict[str, Any] = field(default_factory=dict)
setUp: Callable[[State, Mapping[str, Any]], None] = field(repr=False, default=NoOp)
tearDown: Callable[[State, Mapping[str, Any]], None] = field(repr=False, default=NoOp)
Expand Down

0 comments on commit 1b129e6

Please sign in to comment.