diff --git a/icepyx/core/granules.py b/icepyx/core/granules.py index 0de4edda7..8b1d82264 100644 --- a/icepyx/core/granules.py +++ b/icepyx/core/granules.py @@ -7,7 +7,6 @@ import pprint import re import time -from typing import Optional from xml.etree import ElementTree as ET import zipfile @@ -18,7 +17,7 @@ import icepyx.core.APIformatting as apifmt from icepyx.core.auth import EarthdataAuthMixin import icepyx.core.exceptions -from icepyx.core.types import CMRParams, EGISpecificRequiredParams +from icepyx.core.types import CMRParams, EGISpecificParamsSearch from icepyx.core.urls import DOWNLOAD_BASE_URL, GRANULE_SEARCH_BASE_URL, ORDER_BASE_URL @@ -177,8 +176,8 @@ def __init__( def get_avail( self, - CMRparams: Optional[CMRParams], - reqparams: Optional[EGISpecificRequiredParams], + CMRparams: CMRParams, + reqparams: EGISpecificParamsSearch, cloud=False, ): """ @@ -272,7 +271,7 @@ def get_avail( def place_order( self, CMRparams: CMRParams, - reqparams: EGISpecificRequiredParams, + reqparams: EGISpecificParamsSearch, subsetparams, verbose, subset=True,