Skip to content

Commit

Permalink
delete abstractclassmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed Feb 20, 2024
1 parent b740b2d commit 85f8c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd/dpmodel/utils/spin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import copy
from abc import (
ABC,
abstractclassmethod,
abstractmethod,
)
from typing import (
Expand Down Expand Up @@ -176,7 +175,8 @@ def serialize(
) -> dict:
pass

@abstractclassmethod
@classmethod
@abstractmethod
def deserialize(
cls,
data: dict,
Expand Down

0 comments on commit 85f8c12

Please sign in to comment.