Skip to content

Commit

Permalink
Replace with list and dict
Browse files Browse the repository at this point in the history
  • Loading branch information
Randl committed Oct 4, 2022
1 parent 360379d commit 30ee62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/primitives/estimator_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from __future__ import annotations

from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, Dict, List
from typing import TYPE_CHECKING, Any

from .base_result import BasePrimitiveResult

Expand All @@ -43,4 +43,4 @@ class EstimatorResult(BasePrimitiveResult):
"""

values: "np.ndarray[Any, np.dtype[np.float64]]"
metadata: List[Dict[str, Any]]
metadata: list[dict[str, Any]]

0 comments on commit 30ee62e

Please sign in to comment.