From de7e2e62a4db21d11706f6fa9ab04f14b4d0f28a Mon Sep 17 00:00:00 2001 From: Jason Munro Date: Thu, 29 Feb 2024 10:07:59 -0800 Subject: [PATCH] Linting --- mp_api/client/routes/materials/materials.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mp_api/client/routes/materials/materials.py b/mp_api/client/routes/materials/materials.py index c2743426..e280d27e 100644 --- a/mp_api/client/routes/materials/materials.py +++ b/mp_api/client/routes/materials/materials.py @@ -1,7 +1,5 @@ from __future__ import annotations -from typing import Optional - from emmet.core.settings import EmmetSettings from emmet.core.symmetry import CrystalSystem from emmet.core.vasp.calc_types import RunType @@ -313,10 +311,8 @@ def find_structure( def get_blessed_entries( self, run_type: RunType = RunType.R2SCAN, - material_ids: Optional[list[str]] = None, - uncorrected_energy: Optional[ - tuple[Optional[float], Optional[float]] | float - ] = None, + material_ids: list[str] | None = None, + uncorrected_energy: tuple[float | None, float | None] | float | None = None, num_chunks: int | None = None, chunk_size: int = 1000, ):