Skip to content

Commit

Permalink
Change annotation back to older style
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhorton authored Mar 29, 2022
1 parent 5f5c537 commit 02ac6df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymatgen/apps/battery/battery_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from collections.abc import Sequence
from dataclasses import dataclass
from typing import Tuple

from monty.json import MSONable
from scipy.constants import N_A
Expand Down Expand Up @@ -134,7 +135,7 @@ class AbstractElectrode(Sequence, MSONable):
framework_formula: The compositions of one formula unit of the host material
"""

voltage_pairs: tuple[AbstractVoltagePair, ...]
voltage_pairs: Tuple[AbstractVoltagePair, ...]
working_ion_entry: ComputedEntry
framework_formula: str # should be made into Composition whenever the as_dict and from dict are fixed

Expand Down

0 comments on commit 02ac6df

Please sign in to comment.