Skip to content

Commit

Permalink
add field for mutable default in dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
yitchen-tim committed Sep 22, 2023
1 parent 148b68e commit 31e7f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braket/experimental/autoqasm/program/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class UserConfig:
device: Optional[Device] = None
"""The target device for the program."""

serialization_config: Optional[SerializationConfig] = SerializationConfig()
serialization_config: Optional[SerializationConfig] = field(default_factory=SerializationConfig)
"""OpenQASM serialization configurations."""


Expand Down

0 comments on commit 31e7f39

Please sign in to comment.