Skip to content

Commit

Permalink
fix: dataclass issue for python > 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Jul 4, 2024
1 parent e044810 commit f28562d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quam/components/ports/base_ports.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def apply_to_config(self, config: Dict) -> None:
self._update_port_config(port_cfg, port_properties)


@quam_dataclass
@quam_dataclass(kw_only=False)
class OPXPlusPort(BasePort, ABC):
controller_id: Union[str, int]
port_id: int
Expand Down Expand Up @@ -78,7 +78,7 @@ def get_port_config(
return port_cfg


@quam_dataclass
@quam_dataclass(kw_only=False)
class FEMPort(BasePort, ABC):
fem_type: ClassVar[str]
controller_id: Union[str, int]
Expand Down

0 comments on commit f28562d

Please sign in to comment.