Unverified Commit df08f346 authored by Stefan He's avatar Stefan He Committed by GitHub
Browse files

Fix Duplicate Classmethod in spec_info.py (#12354)

parent db15148c
......@@ -139,7 +139,6 @@ class SpeculativeAlgorithm(metaclass=_SpeculativeAlgorithmMeta):
for flag_name in flag_iter:
cls._flags[flag_name.upper()].add(algo.value)
@classmethod
@classmethod
def from_string(cls, name: Optional[str]) -> SpeculativeAlgorithm:
if name is None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment