From a41339b6afe07f0230291783cabe0c7f5a76d3da Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Fri, 23 Sep 2022 11:17:43 +0200 Subject: [PATCH] Changed types of date/time to Union[str, datetime] --- pyrmv/raw/himSearch.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyrmv/raw/himSearch.py b/pyrmv/raw/himSearch.py index ecc8232..07cb8e8 100644 --- a/pyrmv/raw/himSearch.py +++ b/pyrmv/raw/himSearch.py @@ -11,10 +11,10 @@ except ImportError: # 2.37. HIM Search (himsearch) def himSearch(accessId: str, json: bool = True, - dateB: str = None, - dateE: str = None, - timeB: str = None, - timeE: str = None, + dateB: Union[str, datetime] = None, + dateE: Union[str, datetime] = None, + timeB: Union[str, datetime] = None, + timeE: Union[str, datetime] = None, weekdays: Dict[str, bool] = None, himIds: Union[str, list] = None, hierarchicalView: bool = False, @@ -52,10 +52,10 @@ def himSearch(accessId: str, ### Args: * accessId (str): _description_ * json (bool, optional): _description_. Defaults to True. - * dateB (str, optional): _description_. Defaults to None. - * dateE (str, optional): _description_. Defaults to None. - * timeB (str, optional): _description_. Defaults to None. - * timeE (str, optional): _description_. Defaults to None. + * dateB (Union[str, datetime], optional): _description_. Defaults to None. + * dateE (Union[str, datetime], optional): _description_. Defaults to None. + * timeB (Union[str, datetime], optional): _description_. Defaults to None. + * timeE (Union[str, datetime], optional): _description_. Defaults to None. * weekdays (Dict[str, bool], optional): _description_. Defaults to None. * himIds (Union[str, list], optional): _description_. Defaults to None. * hierarchicalView (bool, optional): _description_. Defaults to False.