Compare commits
No commits in common. "29d35f9c1692618cbed1fa7c47d9dc83f7391ce4" and "757d5a1671fe40c3c595d01005698759d3b5b4c4" have entirely different histories.
29d35f9c16
...
757d5a1671
@ -3,10 +3,8 @@ from dataclasses import dataclass
|
|||||||
from typing import Dict, Any
|
from typing import Dict, Any
|
||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
import sys
|
|
||||||
py310 = sys.version_info.minor >= 10 or sys.version_info.major > 3
|
|
||||||
|
|
||||||
@dataclass(**({"slots": True} if py310 else {}))
|
@dataclass(slots=True)
|
||||||
class ReadoutErrorCounter:
|
class ReadoutErrorCounter:
|
||||||
"""Class used to track readout errors"""
|
"""Class used to track readout errors"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user