Skip to content

Commit

Permalink
making dataclasses into pydantic.dataclasses.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Sep 29, 2023
1 parent c5bf722 commit 4d133b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bloqade/ir/routine/bloqade.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from bloqade.task.batch import LocalBatch
from beartype import beartype
from beartype.typing import Optional, Tuple
from dataclasses import dataclass
from pydantic.dataclasses import dataclass


@dataclass(frozen=True, config=__pydantic_dataclass_config__)
Expand Down
2 changes: 1 addition & 1 deletion src/bloqade/ir/routine/braket.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from collections import OrderedDict
from dataclasses import dataclass
from pydantic.dataclasses import dataclass
from beartype import beartype
from beartype.typing import Optional, Tuple
from bloqade.builder.typing import LiteralType
Expand Down
2 changes: 1 addition & 1 deletion src/bloqade/ir/routine/quera.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from collections import OrderedDict
from dataclasses import dataclass
from pydantic.dataclasses import dataclass
import json

from bloqade.builder.typing import LiteralType
Expand Down

0 comments on commit 4d133b6

Please sign in to comment.